TPac: Hide place hold links when not holdable
authorThomas Berezansky <tsbere@mvlc.org>
Wed, 18 Apr 2012 21:03:05 +0000 (17:03 -0400)
committerDan Scott <dscott@laurentian.ca>
Wed, 1 Aug 2012 19:41:06 +0000 (15:41 -0400)
commit4fde47ce0096257d7dbcd5d15c5a2b5edd6c0912
tree31918509f0346a3333ec8835031e23186a341ae8
parentaf90956986c220751c7b9f0aec5663ab9ce2c69a
TPac: Hide place hold links when not holdable

The only check done is on the holdable flags:
Copy
Status
Location

Hold rules themselves are not checked.

Note that place hold links are shown either way when you can have the
PLACE_UNFILLABLE_HOLD permission and are logged into the staff client.

Signed-off-by: Thomas Berezansky <tsbere@mvlc.org>
Signed-off-by: Dan Scott <dscott@laurentian.ca>
Open-ILS/src/perlmods/lib/OpenILS/Application/Search/Biblio.pm
Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader.pm
Open-ILS/src/sql/Pg/040.schema.asset.sql
Open-ILS/src/sql/Pg/990.schema.unapi.sql
Open-ILS/src/sql/Pg/upgrade/XXXX.tpac_holdable_check.sql [new file with mode: 0644]
Open-ILS/src/templates/opac/parts/record/summary.tt2
Open-ILS/src/templates/opac/parts/result/table.tt2