Serial holdings display consistency fix
authorDan Wells <dbw2@calvin.edu>
Wed, 1 Jun 2011 18:33:59 +0000 (14:33 -0400)
committerDan Wells <dbw2@calvin.edu>
Wed, 1 Jun 2011 18:57:42 +0000 (14:57 -0400)
commita97c4c3a32671987087f184bb81cc97e8bd29bdf
tree9968cbfde26d3e91891e57707958603bdf97155d
parent4f0292786c9143d47036a64e0d8fc308cce0f6dc
Serial holdings display consistency fix

When holdings are sourced from both MFHD and the DB, display may be
inconsistent due to a hard-coded ', ' in Serial.pm.  This patch works around
the problem by storing generated_coverage as a JSON array instead of a string,
leaving display formatting to the OPAC.

Signed-off-by: Dan Wells <dbw2@calvin.edu>
Open-ILS/src/perlmods/lib/OpenILS/Application/Search/Serial.pm
Open-ILS/src/perlmods/lib/OpenILS/Application/Serial.pm
Open-ILS/src/sql/Pg/002.schema.config.sql
Open-ILS/src/sql/Pg/upgrade/0543.data.reformat_generated_coverage.sql [new file with mode: 0644]