Bugzilla – Attachment 50141 Details for
Bug 16240
Regression: Bug 16082 causes message to be displayed even when no borrowernumber is passed
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 16240: (follow-up for 16082) Do not display message if no borrowernumber passed
Bug-16240-follow-up-for-16082-Do-not-display-messa.patch (text/plain), 1.33 KB, created by
Jonathan Druart
on 2016-04-12 08:31:55 UTC
(
hide
)
Description:
Bug 16240: (follow-up for 16082) Do not display message if no borrowernumber passed
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2016-04-12 08:31:55 UTC
Size:
1.33 KB
patch
obsolete
>From e4461e52f175d2fe9ab679a4552168d05ea0fbde Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Tue, 12 Apr 2016 09:24:18 +0100 >Subject: [PATCH] Bug 16240: (follow-up for 16082) Do not display message if no > borrowernumber passed > >"This patron does not exist" message should not be displayed on the >"Checkouts home page". The message should only be displayed if the >borrowernumber parameter is passed. > >Test plan: >Go on circ/circulation.pl >=> No message >Go on circ/circulation.pl?borrowernumber=424242 >=> You should see the message >--- > koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt >index 4727192..ec3a1d9 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt >@@ -970,7 +970,7 @@ No patron matched <span class="ex">[% message %]</span> > [% END %] > </div> <!-- reservesloop --> > >-[% ELSE %] >+[% ELSIF borrowernumber %] > <div class="dialog message">This patron does not exist. <a href="/cgi-bin/koha/members/members-home.pl">Find another patron?</a></div> > [% END %] <!-- borrowernumber and borrower--> > </div></div> >-- >2.7.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 16240
:
50141
|
50149
|
50217