]> git.evergreen-ils.org Git - 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:09:30 +0000 (10:09 -0400)
commit4ffa9f093e3c805e918c70b29e2ce134bb310a68
treec608f0b085edbfab92ef4db253223772817e2abb
parent58e6dfd49a33597985d4f4854451ef50f82ffa98
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/OpenILS/Application/SuperCat.pm