Bug 5533 followup: reinstate Lost status editing
authorIan Walls <ian.walls@bywatersolutions.com>
Thu, 15 Dec 2011 13:21:56 +0000 (08:21 -0500)
committerPaul Poulain <paul.poulain@biblibre.com>
Tue, 17 Jan 2012 15:01:38 +0000 (16:01 +0100)
commit3062405c0989bfd34422ed6d1118cf8b98a84865
treea3be1ff032a50ee43981fe5aacb3b6b97b2a7cd1
parent4770555855930e45eeaedd1e25a9a39af0861604
Bug 5533 followup: reinstate Lost status editing

The original patch for 5533 removed the Lost status from the edit items screen; new items were not affected,
and batch changes could still be made, so this was not a consistent change.

This patch removes the filter that hid the Lost status dropdown, but then changes the default MARC framework
to hide this field by default (value -5).  New installations will not see this status in the editor, unless
they manually activate it.  This will enforce the semantics of using the "mark lost" options by default, but
provide a workaround for libraries that understand and accept the consequences of manually editing this field.

To test:

1.  on an existing install, edit an item.  you should have the Lost status visible
2.  on a new install, editing or creating an item should not show the Lost status at all

Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
cataloguing/additem.pl
installer/data/mysql/en/marcflavour/marc21/mandatory/marc21_framework_DEFAULT.sql