From eb7b98bafb4f107f4f3190882b6a375ebacfbd40 Mon Sep 17 00:00:00 2001 From: Mike Rylander Date: Fri, 20 May 2011 09:12:22 -0400 Subject: [PATCH] Revert "When placing holds on a bib with monographic part, require selection of a specific part" This reverts commit 3e63a898c53f6100d678f263e5dde5b9f678692d. 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 7a41e07a0..b52813aee 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 384643dc0..aaf7a2e4e 100644 --- a/Open-ILS/web/opac/skin/default/js/holds.js +++ b/Open-ILS/web/opac/skin/default/js/holds.js @@ -945,15 +945,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 014ee2482..7d8712d23 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