Bugzilla – Attachment 14359 Details for
Bug 9336
Don't let un-holdable records prevent holdable records from being held in Intranet for multi-holds
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 9336 - Don't let un-holdable records prevent holdable records from being held in Intranet for multi-holds
Bug-9336---Dont-let-un-holdable-records-prevent-ho.patch (text/plain), 2.64 KB, created by
Kyle M Hall (khall)
on 2013-01-02 13:03:12 UTC
(
hide
)
Description:
Bug 9336 - Don't let un-holdable records prevent holdable records from being held in Intranet for multi-holds
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2013-01-02 13:03:12 UTC
Size:
2.64 KB
patch
obsolete
>From 00c73a1e4f995257adc2155ea96f3b36eec80256 Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Wed, 16 May 2012 08:01:06 -0400 >Subject: [PATCH] Bug 9336 - Don't let un-holdable records prevent holdable records from being held in Intranet for multi-holds > >If one or more records selected for a multi-hold have no items, >the multi-holds process will prevent the librarian from completing >the multi-hold. This forces the librarian to go back and remove the >records with no items from the multi-hold. > >It would be better to warn the librarian that some of the records >won't be held instead, that way, the librarian does not need to go >to the trouble of removing the non-holdable records from the >multi-hold to complete the process. > >Fixed by not disabling the submit button in the event that one >of the records has no holdable items. Updated text of submit >buttons. >--- > .../prog/en/modules/reserve/request.tt | 6 +++--- > reserve/request.pl | 2 +- > 2 files changed, 4 insertions(+), 4 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt >index 05470eb..c93e5b7 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt >@@ -504,11 +504,11 @@ function checkMultiHold() { > <fieldset class="action"> > [% IF ( borrowernumber ) %] > [% IF ( override_required ) %] >- <input type="submit" class="warning" value="Place hold" /> >+ <input type="submit" class="warning" value="Place holds" /> > [% ELSIF ( none_available ) %] >- <input type="submit" disabled="disabled" value="Place hold" /> >+ <input type="submit" value="Place holds on holdable items" /> > [% ELSE %] >- <input type="submit" value="Place hold" /> >+ <input type="submit" value="Place holds" /> > [% END %] > [% END %] > </fieldset> >diff --git a/reserve/request.pl b/reserve/request.pl >index 705f4f6..9a4fcbd 100755 >--- a/reserve/request.pl >+++ b/reserve/request.pl >@@ -475,7 +475,7 @@ foreach my $biblionumber (@biblionumbers) { > } > elsif ( C4::Context->preference('AllowHoldPolicyOverride') ) { > >-# If AllowHoldPolicyOverride is set, it should override EVERY restriction, not just branch item rules >+ # If AllowHoldPolicyOverride is set, it should override EVERY restriction, not just branch item rules > $item->{override} = 1; > $num_override++; > } >-- >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 9336
:
14359
|
14436