Further clean-up of Serials interfaces user/dbwells/mfhd_serctrl_sync_rel_2_0
authorDan Wells <dbw2@calvin.edu>
Tue, 21 Jun 2011 21:09:58 +0000 (17:09 -0400)
committerDan Wells <dbw2@calvin.edu>
Wed, 22 Jun 2011 02:25:37 +0000 (22:25 -0400)
commit80f80c717f34db16e9d5eaa3863cdb5423567211
tree03b7b1372024359e6ed9e4ecf7d3f8e349e9b723
parentcf96fd6ac17a7f8b425a2f6c27a410026b32bc52
Further clean-up of Serials interfaces

When trying to come up with good tests, found a few bugs (imagine!).
Some have been nagging for a while now.

1) For 'MFHDDrawn' event, make sure it runs if deleting the last
serials data of any kind for that record (to unpopulate the menus
properly)

2) Make sure global mfhd member (g.mfhd) is cleared in the same case
(i.e. deleting the last serials data for that record)

3) Add a string to better indicate when no MFHD records are available
for 'Legacy Record Entry' drop-down

4) Convert submitted empty drop-down values to 'null' as needed in
distribution editor

5) Mark subscription 'start date' as a required field

6) Make serial virtual records better handle deleted 'legacy record
entries' attached to distributions, and also expose non-deleted
record entries even if in 'use_sdist_only' summary mode

Signed-off-by: Dan Wells <dbw2@calvin.edu>
Open-ILS/src/perlmods/OpenILS/Application/Search/Serial.pm
Open-ILS/web/opac/skin/default/js/rdetail.js
Open-ILS/xul/staff_client/chrome/content/cat/opac.js
Open-ILS/xul/staff_client/server/locale/en-US/serial.properties
Open-ILS/xul/staff_client/server/serial/sdist_editor.js
Open-ILS/xul/staff_client/server/serial/ssub_editor.js