Further clean-up of Serials interfaces user/dbwells/mfhd_serctrl_sync
authorDan Wells <dbw2@calvin.edu>
Tue, 21 Jun 2011 21:09:58 +0000 (17:09 -0400)
committerDan Wells <dbw2@calvin.edu>
Tue, 21 Jun 2011 21:09:58 +0000 (17:09 -0400)
commita47d74bbc7f8136f578c26654767fbd4f6e5e508
tree3dd920b2d9a47064bbfaf2aa0b3d516b17d6fca8
parent1f23bfa0a5d9250f93edaca38144944c870e3280
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/lib/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