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 20:54:01 +0000 (16:54 -0400)
commita6170ad241d22e936def92dd0896ee955ae48e53
tree316ecc8d21d72dc558904fdebdb4e761e54ee2f3
parent77fdad1194178d217b46c4c49d9930a2c31cd5be
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