Bugzilla – Attachment 51848 Details for
Bug 16596
branchcode and categorycode are displayed instead of their description on patron search result
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[SIGNED-OFF] Bug 16596: Display library and patron category descriptions instead of their code
SIGNED-OFF-Bug-16596-Display-library-and-patron-ca.patch (text/plain), 2.75 KB, created by
Bernardo Gonzalez Kriegel
on 2016-05-26 18:55:37 UTC
(
hide
)
Description:
[SIGNED-OFF] Bug 16596: Display library and patron category descriptions instead of their code
Filename:
MIME Type:
Creator:
Bernardo Gonzalez Kriegel
Created:
2016-05-26 18:55:37 UTC
Size:
2.75 KB
patch
obsolete
>From bc720b53b57e90c651990670df72472df5986642 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Thu, 26 May 2016 10:55:09 +0100 >Subject: [PATCH] [SIGNED-OFF] Bug 16596: Display library and patron category > descriptions instead of their code > >Test plan: >On circ/circulation-home.pl and reserve/request.pl, search for patrons >The descriptions for the libraries and patron categories should be >displayed. > >Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com> > >On top of Bug 13336 >Works as described, now descriptions instead of codes. >No errors >--- > .../intranet-tmpl/prog/en/includes/circ-patron-search-results.inc | 4 ++-- > koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt | 1 + > koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt | 2 ++ > 3 files changed, 5 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/circ-patron-search-results.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/circ-patron-search-results.inc >index c60395b..cdd377c 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/circ-patron-search-results.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/circ-patron-search-results.inc >@@ -31,8 +31,8 @@ > <td><a href="/cgi-bin/koha/reserve/request.pl?borrowernumber=[% borrower.borrowernumber %]&biblionumber=[% biblionumber %]">[% borrower.surname %], [% borrower.firstname %]</a></td> > [% END %] > <td>[% borrower.cardnumber %]</td> >- <td>[% borrower.categorycode %]</td> >- <td>[% borrower.branchcode %]</td> >+ <td>[% Categories.GetName( borrower.categorycode ) %]</td> >+ <td>[% Branches.GetName( borrower.branchcode ) %]</td> > <td>[% borrower.address %]</td> > </tr> > [% END %] >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 b653762..dde7a74 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt >@@ -1,6 +1,7 @@ > [% USE Koha %] > [% USE Branches %] > [% USE KohaDates %] >+[% USE Categories %] > [% USE ColumnsSettings %] > [% USE ItemTypes %] > [% USE Price %] >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 c2365b3..1f01a69 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt >@@ -1,5 +1,7 @@ > [% USE Koha %] > [% USE KohaDates %] >+[% USE Branches %] >+[% USE Categories %] > [% USE ItemTypes %] > [% INCLUDE 'doc-head-open.inc' %] > [% UNLESS ( multi_hold ) %] >-- >1.9.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 16596
:
51817
|
51848
|
52242