Bugzilla – Attachment 50149 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.47 KB, created by
Marc Véron
on 2016-04-12 14:08:39 UTC
(
hide
)
Description:
Bug 16240: (follow-up for 16082) Do not display message if no borrowernumber passed
Filename:
MIME Type:
Creator:
Marc Véron
Created:
2016-04-12 14:08:39 UTC
Size:
1.47 KB
patch
obsolete
>From 532a6f759f310bd1fbc2e8104bf871a08f24f6bc 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 >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >"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 > >Signed-off-by: Marc Véron <veron@veron.ch> >--- > 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> >-- >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 16240
:
50141
|
50149
|
50217