Bugzilla – Attachment 129925 Details for
Bug 29058
Add option to not load existing holds table automatically
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 29058: Don't display 'Show holds' button if holds are displayed
Bug-29058-Dont-display-Show-holds-button-if-holds-.patch (text/plain), 1.71 KB, created by
Jonathan Druart
on 2022-01-28 12:07:32 UTC
(
hide
)
Description:
Bug 29058: Don't display 'Show holds' button if holds are displayed
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2022-01-28 12:07:32 UTC
Size:
1.71 KB
patch
obsolete
>From 56f86705c93155963609df759655a8eadd8ceb9e Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Fri, 28 Jan 2022 13:05:55 +0100 >Subject: [PATCH] Bug 29058: Don't display 'Show holds' button if holds are > displayed > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > >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 e9488ea1826..1afeb692867 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt >@@ -910,7 +910,9 @@ > <label for ="always_show_holds">Always show holds</label> > [% IF always_show_holds == 'DONT' %] > <input type="checkbox" name="always_show_holds" id="always_show_holds" value="DO"> >- <a class="btn btn-default" value="Show holds" id="show_holds_now" href="/cgi-bin/koha/reserve/request.pl?biblionumber=[% biblio.biblionumber %]&show_holds_now=1">Show holds ([% hold_count %])</a> >+ [% UNLESS reserveloop %] >+ <a class="btn btn-default" value="Show holds" id="show_holds_now" href="/cgi-bin/koha/reserve/request.pl?biblionumber=[% biblio.biblionumber %]&show_holds_now=1">Show holds ([% hold_count %])</a> >+ [% END %] > [% ELSE %] > <input type="checkbox" name="always_show_holds" value="DO" id="always_show_holds" checked="checked"> > [% END %] >-- >2.25.1
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 29058
:
125054
|
125062
|
125091
|
125487
|
125488
|
126995
|
129924
|
129925
|
129930
|
129931
|
129932
|
129933