Bugzilla – Attachment 129932 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.74 KB, created by
Jonathan Druart
on 2022-01-28 12:55:15 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:55:15 UTC
Size:
1.74 KB
patch
obsolete
>From 3e5cd0b46e75d4f0f360b5a92d1687ed00b6cdb3 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 8a4f79e8755..9a46b4ac71c 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 | uri %]&show_holds_now=1">Show holds ([% hold_count | html %])</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 | uri %]&show_holds_now=1">Show holds ([% hold_count | html %])</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