Bugzilla – Attachment 45630 Details for
Bug 15357
Deleting all items on a record with title level holds creates orphaned/ghost holds
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 15357: Display existing holds even if no items exist
Bug-15357-Display-existing-holds-even-if-no-items-.patch (text/plain), 2.19 KB, created by
Jonathan Druart
on 2015-12-14 09:34:54 UTC
(
hide
)
Description:
Bug 15357: Display existing holds even if no items exist
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2015-12-14 09:34:54 UTC
Size:
2.19 KB
patch
obsolete
>From 385bfeec97d16ee2fc2cf4d6947564d38f5471da Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Mon, 14 Dec 2015 09:32:50 +0000 >Subject: [PATCH] Bug 15357: Display existing holds even if no items exist > >If all the items have been deleted for a record and holds exist, the >holds are not displayed. >You are not able to delete the items from the record detail page, but >you can from the items page. > >Test plan: >1 - Place 1 or more title level holds on a record. >2 - Delete each item individually. >3 - Note that you see the number of holds on the record details page >With this patch, that holds are accessible via the holds tab. >--- > koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt | 10 +++++----- > 1 file changed, 5 insertions(+), 5 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 bf85bf6..d6b9a36 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt >@@ -228,8 +228,9 @@ function checkMultiHold() { > [% ELSE %] > <strong>Cannot place hold:</strong> this record has no items attached. > [% END %] >- </ div> >-[% ELSE %] >+ </div> >+[% END %] >+ > [% IF ( messagetransfert ) %] > <div class="dialog message"> > <h2>Hold found for ([% nextreservtitle %]), please transfer</h2> >@@ -247,7 +248,7 @@ function checkMultiHold() { > <h1>Confirm holds</h1> > [% END %] > >- [% UNLESS ( borrowernumber ) %] >+ [% UNLESS borrowernumber OR noitems %] > [% IF ( messageborrower ) %] > <div class="dialog alert"><h3>Patron not found</h3><p>No patron with this name, please, try another</p> </div> > [% END %] >@@ -296,7 +297,7 @@ function checkMultiHold() { > <input type="hidden" name="biblionumbers" value="[% biblionumbers %]"/> > [% END %] > </form> >- [% ELSE %] >+ [% ELSIF NOT noitems %] > > [% IF ( exceeded_maxreserves || alreadyreserved || none_available || alreadypossession || ageRestricted ) %] > <div class="dialog alert"> >@@ -845,7 +846,6 @@ function checkMultiHold() { > </form> > [% END %] > [% END %] >-[% END %] > </div> > </div> > >-- >2.1.0
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 15357
:
45630
|
45665
|
46376
|
46723