From 7eed24efc3ac0ffc7269002c76f5b6509903498f Mon Sep 17 00:00:00 2001 From: Mike Rylander Date: Fri, 20 May 2011 09:18:05 -0400 Subject: [PATCH] Revert "When placing holds on a bib with monographic part, require selection of a specific part" This reverts commit 69395e8c55db3a0993b2a48eb930ab55402d5c8d. We must not force P-type holds as not all copies may not use parts. Imagine a situation where only one library breaks up a season of Seinfeld by using a part per DVD, and all others leave them bound and therefore need no part designations. Signed-off-by: Mike Rylander --- Open-ILS/web/opac/locale/en-US/opac.dtd | 1 - Open-ILS/web/opac/skin/default/js/holds.js | 13 ++++--------- Open-ILS/web/opac/skin/default/xml/common/holds.xml | 1 - 3 files changed, 4 insertions(+), 11 deletions(-) diff --git a/Open-ILS/web/opac/locale/en-US/opac.dtd b/Open-ILS/web/opac/locale/en-US/opac.dtd index 7a41e07a0e..b52813aee7 100644 --- a/Open-ILS/web/opac/locale/en-US/opac.dtd +++ b/Open-ILS/web/opac/locale/en-US/opac.dtd @@ -609,7 +609,6 @@ We recommend that you remove this title from any bookbags it may have been added - diff --git a/Open-ILS/web/opac/skin/default/js/holds.js b/Open-ILS/web/opac/skin/default/js/holds.js index 2be3c39824..73514c1243 100644 --- a/Open-ILS/web/opac/skin/default/js/holds.js +++ b/Open-ILS/web/opac/skin/default/js/holds.js @@ -928,15 +928,10 @@ function holdsBuildHoldFromWindow() { else hold.email_notify(0); - if(holdArgs.recordParts && holdArgs.recordParts.length) { - var part = getSelectorVal($('holds_parts_selector')); - if(part) { - holdArgs.type = 'P'; - holdArgs.part = part; - } else { - alertId('holds_pick_part'); - return; - } + var part = getSelectorVal($('holds_parts_selector')); + if(part) { + holdArgs.type = 'P'; + holdArgs.part = part; } var target = holdArgs[holdTargetTypeMap[holdArgs.type]]; diff --git a/Open-ILS/web/opac/skin/default/xml/common/holds.xml b/Open-ILS/web/opac/skin/default/xml/common/holds.xml index 014ee2482a..7d8712d235 100644 --- a/Open-ILS/web/opac/skin/default/xml/common/holds.xml +++ b/Open-ILS/web/opac/skin/default/xml/common/holds.xml @@ -234,7 +234,6 @@ &holds.advanced_options; &common.hold.delivery; - &common.hold.part_required; &common.hold.exists; &common.hold.checked_out; -- 2.11.0