Bugzilla – Attachment 53149 Details for
Bug 16682
Fix display if Batch patron modification tool does not get any patrons
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 16682 - Fix display if Batch patron modification tool does not get any patrons
Bug-16682---Fix-display-if-Batch-patron-modificati.patch (text/plain), 1.74 KB, created by
Marc Véron
on 2016-07-06 16:47:18 UTC
(
hide
)
Description:
Bug 16682 - Fix display if Batch patron modification tool does not get any patrons
Filename:
MIME Type:
Creator:
Marc Véron
Created:
2016-07-06 16:47:18 UTC
Size:
1.74 KB
patch
obsolete
>From 58bff3f1b5e1f9f6f6817f13c51a0b9ef182e291 Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Marc=20V=C3=A9ron?= <veron@veron.ch> >Date: Mon, 4 Jul 2016 19:37:46 +0200 >Subject: [PATCH] Bug 16682 - Fix display if Batch patron modification tool > does not get any patrons > >To reproduce: >- Go to Tools->Batch patron modification >- Submit without filling any of "Use a file", "Or use a patron list", > "Or list card numbers..." or use a patron lists with zero members >Result: Screen without any information > >To test: >- Apply patch >- Repeat steps above >- Verify that you get a nice message >--- > koha-tmpl/intranet-tmpl/prog/en/modules/tools/modborrowers.tt | 4 ++++ > 1 file changed, 4 insertions(+) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/modborrowers.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/modborrowers.tt >index 8d50d70..8f67348 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/modborrowers.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/modborrowers.tt >@@ -213,6 +213,9 @@ > [% END %] > > [% IF ( op == 'show' ) %] >+ [% IF !borrowers %] >+ <div class="dialog message">No patrons found. <a href="/cgi-bin/koha/tools/modborrowers.pl" class="btn btn-mini">Back</a></div> >+ [% ELSE %] > <form name="f" action="modborrowers.pl" method="post"> > <input type="hidden" name="op" value="do" /> > [% IF ( borrowers ) %] >@@ -370,6 +373,7 @@ > </form> > [% END %] > [% END %] >+ [% END %] > [% END %] > [% IF ( op == 'show_results' ) %] > <p> >-- >1.7.10.4
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 16682
:
53149
|
53163
|
53211
|
53235
|
53236
|
53237