Fix place hold hiding logic user/tsbere/merge_place_hold_hidies
authorThomas Berezansky <tsbere@mvlc.org>
Wed, 1 Aug 2012 20:40:51 +0000 (16:40 -0400)
committerThomas Berezansky <tsbere@mvlc.org>
Wed, 1 Aug 2012 20:44:56 +0000 (16:44 -0400)
commit1d520fbf4aa271d8ce0599375ec094df062fd9f2
tree8983475edc2b838e931dd23b51df28d2168d1934
parent8476bf8abad57447eb65c390787a1cbe6996ecfe
Fix place hold hiding logic

Always show the place hold link for staff with permission to place holds
that won't fill currently.

Otherwise, only show the link if:
There are holdable copies
AND
We aren't blocking OR there are no available copies

Signed-off-by: Thomas Berezansky <tsbere@mvlc.org>
Open-ILS/src/templates/opac/parts/record/summary.tt2
Open-ILS/src/templates/opac/parts/result/table.tt2