TPac: Hide place hold links when not holdable
authorThomas Berezansky <tsbere@mvlc.org>
Wed, 18 Apr 2012 21:03:05 +0000 (17:03 -0400)
committerThomas Berezansky <tsbere@mvlc.org>
Wed, 1 Aug 2012 20:43:27 +0000 (16:43 -0400)
commitf88d5bab02f2b27a36b74dfbbf5078188c708f68
tree1485c93fb8def4fa24fa596eeb7314c7beaf50b7
parent8227dd59af80c12740ad51ea076d7e5806b8ff62
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