Bugzilla – Attachment 80150 Details for
Bug 21463
Library is no longer displayed in the overdue list
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 21463: (bug 18789 follow-up) Fix library display on the overdue list view
Bug-21463-bug-18789-follow-up-Fix-library-display-.patch (text/plain), 2.34 KB, created by
Pierre-Marc Thibault
on 2018-10-05 20:19:26 UTC
(
hide
)
Description:
Bug 21463: (bug 18789 follow-up) Fix library display on the overdue list view
Filename:
MIME Type:
Creator:
Pierre-Marc Thibault
Created:
2018-10-05 20:19:26 UTC
Size:
2.34 KB
patch
obsolete
>From 921849fa97b907af6bbec47f79a4c9b9deea9caf Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Mon, 1 Oct 2018 13:42:07 -0300 >Subject: [PATCH] Bug 21463: (bug 18789 follow-up) Fix library display on the > overdue list view >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >branchcode is no longer retrieved from the SQL query, we should use the >Koha::Patron object instead. > >Test plan: >Create some overdues and list them on Home ⺠Circulation ⺠Overdues >=> With this patch applied you should see that the "Library" column is >correctly filled with the patron's library name > >Signed-off-by: Pierre-Marc Thibault <pierre-marc.thibault@inLibro.com> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/circ/overdue.tt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/overdue.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/overdue.tt >index 872faf9..496d1f8 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/overdue.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/overdue.tt >@@ -66,7 +66,7 @@ > [% IF ( overdueloo.email ) %][<a href="mailto:[% overdueloo.email | html %]?subject=[% INCLUDE subject %] [% overdueloo.title | html %]">email</a>][% END %] > [% IF ( overdueloo.phone ) %]([% overdueloo.phone | html %])[% ELSIF ( overdueloo.mobile ) %]([% overdueloo.mobile | html %])[% ELSIF ( overdueloo.phonepro ) %]([% overdueloo.phonepro | html %])[% END %]</td> > [% END %] >- <td>[% IF overdueloo.branchcode %][% Branches.GetName( overdueloo.branchcode ) | html %][% END %]</td> >+ <td>[% Branches.GetName( overdueloo.patron.branchcode ) | html %]</td> > <td>[% INCLUDE 'biblio-default-view.inc' biblionumber = overdueloo.biblionumber %][% overdueloo.title | html %] [% overdueloo.subtitle | html %]</a> [% IF ( overdueloo.author ) %], by [% overdueloo.author | html %][% END %][% IF ( overdueloo.enumchron ) %], [% overdueloo.enumchron | html %][% END %]</td> > <td><a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% overdueloo.biblionumber | html %]&itemnumber=[% overdueloo.itemnum | html %]#item[% overdueloo.itemnum | html %]">[% overdueloo.barcode | html %]</a></td> > <td>[% overdueloo.itemcallnumber | html %]</td> >-- >2.7.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 21463
:
79745
|
80150
|
80166