From: Art Rhyno Date: Fri, 27 Jul 2012 15:39:14 +0000 (-0400) Subject: Block "Place Hold" link in TPAC if item is available X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=03fe050f2b0fd182ae13aa907d4d2c1b0561a9e8;p=contrib%2FConifer.git Block "Place Hold" link in TPAC if item is available Suppress the display of the "Place Hold" link based on whether an item is available. This is set as a preference in config.tt2. Some sites may want the ability to place holds regardless of availability. Signed-off-by: Art Rhyno Signed-off-by: Dan Scott Conflicts: Open-ILS/src/templates/opac/parts/config.tt2 --- diff --git a/Open-ILS/src/templates/opac/parts/config.tt2 b/Open-ILS/src/templates/opac/parts/config.tt2 index bb08435a6e..f23ef4d492 100644 --- a/Open-ILS/src/templates/opac/parts/config.tt2 +++ b/Open-ILS/src/templates/opac/parts/config.tt2 @@ -8,8 +8,11 @@ ############################################################################## # Holds blocking ############################################################################## -# Block the ability to place holds if item is available -ctx.holds_block.enabled = 'true'; +# Prevent the "Place hold" link from being displayed if a copy is available. +# This is not perfect, given the umpteen different types of holds that are +# possible, but addresses the major use case for libraries that don't want +# to fetch copies from the shelves. +ctx.holds_block.enabled = 'false'; ############################################################################## # RefWorks configuration