TPac: Hide place hold links when not holdable user/tsbere/tpac_holdable_check
authorThomas Berezansky <tsbere@mvlc.org>
Wed, 18 Apr 2012 21:03:05 +0000 (17:03 -0400)
committerThomas Berezansky <tsbere@mvlc.org>
Tue, 17 Jul 2012 15:13:41 +0000 (11:13 -0400)
commit328b49020527ebcc97e4da0bd405507508995a15
treeedfc6942451b13e4c384826c80165895b97546ea
parent9a9d1efd7f7166bab1f8653c13d4ce42127c835a
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>
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