Bugzilla – Attachment 14360 Details for
Bug 7703
Don't block bulk hold action on search results if some items can't be placed on hold
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 7703 - Don't block bulk hold action on search results if some items can't be placed on hold
Bug-7703---Dont-block-bulk-hold-action-on-search-r.patch (text/plain), 1.69 KB, created by
Kyle M Hall (khall)
on 2013-01-02 13:23:31 UTC
(
hide
)
Description:
Bug 7703 - Don't block bulk hold action on search results if some items can't be placed on hold
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2013-01-02 13:23:31 UTC
Size:
1.69 KB
patch
obsolete
>From a4440f1a55cf80aa5b700d962a3dff19dfe2ae36 Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Wed, 2 Jan 2013 08:21:52 -0500 >Subject: [PATCH] Bug 7703 - Don't block bulk hold action on search results if some items can't be placed on hold > >Remove the check that prevents submitting a multi-hold if one or more >records in the multi-hold have no items. >--- > .../prog/en/modules/catalogue/results.tt | 10 ---------- > 1 files changed, 0 insertions(+), 10 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt >index 4d89a53..eb8f8f8 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt >@@ -4,7 +4,6 @@ > <script type="text/javascript"> > //<![CDATA[ > var MSG_NO_ITEM_SELECTED = _("Nothing is selected."); >-var MSG_NON_RESERVES_SELECTED = _("One or more selected items cannot be placed on hold."); > var q_array = new Array(); // will hold search terms, if present > [% IF ( AmazonCoverImages ) %] > // http://www.oreillynet.com/pub/a/javascript/2003/10/21/amazonhacks.html >@@ -133,19 +132,10 @@ function placeHold () { > return false; > } > var bibs = ""; >- var badBibs = false; > $(checkedItems).each(function() { > var bib = $(this).val(); >- if ($("#reserve_" + bib).size() == 0) { >- alert(MSG_NON_RESERVES_SELECTED); >- badBibs = true; >- return false; >- } > bibs += bib + "/"; > }); >- if (badBibs) { >- return false; >- } > $("#hold_form_biblios").val(bibs); > $("#hold_form").submit(); > return false; >-- >1.7.2.5
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 7703
:
9613
|
14360
|
14435
|
15290
|
19114
|
19115
|
28144
|
52166
|
52167
|
52168
|
52295
|
52296
|
123575
|
123576
|
123577
|
123812
|
123813
|
123814
|
124233
|
124234
|
124235