]> git.evergreen-ils.org Git - working/Evergreen.git/commit
Add opac_visible attribute to copy and serial unit statuses
authorDan Scott <dan@coffeecode.net>
Tue, 7 Jun 2011 14:09:57 +0000 (10:09 -0400)
committerDan Scott <dan@coffeecode.net>
Mon, 13 Jun 2011 14:04:31 +0000 (10:04 -0400)
commitea3b8857d08b8a9050e763f8084c841e8df9a473
tree4ba482c03838dcb81fb55015b7acedd522848a4a
parent081b2a5ce30d9a4582d845d191b11b6c09fd25e5
Add opac_visible attribute to copy and serial unit statuses

config.copy_status defines an opac_visible column, but that attribute
was not being exposed in the holdings XML, so code that displayed copies
and serial units based on the holdings XML had to hardcode the display
based on the status ID or name instead of using the configured setting.

To simplify display logic, teach holdings XML about the opac_visible
column and expose its value in the status element as a new opac_visible
attribute.

Signed-off-by: Dan Scott <dscott@laurentian.ca>
Open-ILS/src/perlmods/lib/OpenILS/Application/SuperCat.pm