Bugzilla – Attachment 72751 Details for
Bug 19467
Display location and itemtype description on lost items report
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 19467: Display description instead of code for itemtype and location
Bug-19467-Display-description-instead-of-code-for-.patch (text/plain), 1.85 KB, created by
Biblibre Sandboxes
on 2018-03-13 09:50:32 UTC
(
hide
)
Description:
Bug 19467: Display description instead of code for itemtype and location
Filename:
MIME Type:
Creator:
Biblibre Sandboxes
Created:
2018-03-13 09:50:32 UTC
Size:
1.85 KB
patch
obsolete
>From 919e2f40a0853f90e5e29b46507c0d9dc72522f2 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Sat, 17 Feb 2018 18:48:50 -0300 >Subject: [PATCH] Bug 19467: Display description instead of code for itemtype > and location > >On reports/itemslost.pl you must now see the descriptions instead of the >code for itemtype and location > >Signed-off-by: delaye <stephane.delaye@biblibre.com> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/reports/itemslost.tt | 5 +++-- > 1 file changed, 3 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/itemslost.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/itemslost.tt >index 99026f3..7412ef4 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/itemslost.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/itemslost.tt >@@ -2,6 +2,7 @@ > [% USE Branches %] > [% USE ColumnsSettings %] > [% USE KohaDates %] >+[% USE ItemTypes %] > [% SET footerjs = 1 %] > [% INCLUDE 'doc-head-open.inc' %] > <title>Koha › Reports › Lost items</title> >@@ -94,9 +95,9 @@ > <td>[% item.price %]</td> > <td>[% item.replacementprice %]</td> > <td>[% Branches.GetName(item.homebranch) %]</td> >- <td>[% item.effective_itemtype %]</td> >+ <td>[% ItemTypes.GetDescription(item.effective_itemtype) %]</td> > <td>[% Branches.GetName(item.holdingbranch) %]</td> >- <td>[% item.location %]</td> >+ <td>[% AuthorisedValues.GetByCode( 'LOC', item.location )%]</td> > <td>[% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.notforloan', authorised_value => item.notforloan ) %] > <td>[% item.itemnotes %]</td> > </tr> >-- >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 19467
:
71896
|
72751
|
73218
|
73227