Bug 12375 [4] - Replace use of DBI with Koha::Database in C4::Serials::NewIssue
authorKyle M Hall <kyle@bywatersolutions.com>
Thu, 5 Jun 2014 15:26:40 +0000 (11:26 -0400)
committerKyle M Hall <kyle@bywatersolutions.com>
Thu, 31 Dec 2015 11:58:00 +0000 (11:58 +0000)
commit0e2ccf0801d5f578faba0dc508eaa130d72ab0c8
tree4775481583818d7cfa4c3e9b3be3cc5834dc75a5
parent736bcf457cb01b0835f7af041d235f89ac337e3a
Bug 12375 [4] - Replace use of DBI with Koha::Database in C4::Serials::NewIssue

Currently, all serials enumeration data is stored in conglomerated
fashion in serial.serialseq. This makes it extremely difficult to do any
reporting based on the individual sequence values due to this fact. In
addition to the formatted version of the sequence, we should be storing
the individual values as well.

Test Plan:
1) Apply this patch
2) Run updatedatabase.pl
3) Create a new subscription, and add serials to it. The new x y and
   z fields should be populated with the same data the replaces {X} {Y} and
   {Z} in the enumeration field.
4) Inspect some existing serials. The update script will have made a
   best effort to recover the existing enumeration data to store in
   separate fields.

Signed-off-by: Paul Landers <paul.landers@ttuhsc.edu>
C4/Serials.pm