Bugzilla – Attachment 112520 Details for
Bug 22352
Items location not shown correctly in email sent lists
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 22352: lists sent by mail, print location description
Bug-22352-lists-sent-by-mail-print-location-descri.patch (text/plain), 1.80 KB, created by
Séverine Queune
on 2020-10-26 14:26:20 UTC
(
hide
)
Description:
Bug 22352: lists sent by mail, print location description
Filename:
MIME Type:
Creator:
Séverine Queune
Created:
2020-10-26 14:26:20 UTC
Size:
1.80 KB
patch
obsolete
>From 387a01b598008f6ca80c0acca86056f1ca7def00 Mon Sep 17 00:00:00 2001 >From: Didier Gautheron <didier.gautheron@biblibre.com> >Date: Wed, 29 Jul 2020 11:01:29 +0200 >Subject: [PATCH] Bug 22352: lists sent by mail, print location description >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >For patrons location codes aren't very useful, replace them with their >descriptions as defined in authorised values. > >1) Go to lists >2) Choose a list and send it at one of your emails >3) In the sent mail, watch the infos below the âItemâ mention, location > codes are displayed >4) Apply patch >5) Redo 1) and 2) >6) Location descriptions are displayed > >Signed-off-by: Séverine QUEUNE <severine.queune@bulac.fr> >--- > koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-sendshelf.tt | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-sendshelf.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-sendshelf.tt >index be952e2..dc4d0db 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-sendshelf.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-sendshelf.tt >@@ -1,4 +1,6 @@ > [% USE raw %] >+[% USE AuthorisedValues %] >+ > <SUBJECT> > Your list : [% shelfname | $raw %] > <END_SUBJECT> >@@ -150,7 +152,7 @@ Your list : [% shelfname | $raw %] > <ul> > [% FOREACH ITEM_RESULT IN BIBLIO_RESULT.ITEM_RESULTS %]<li> > [% ITEM_RESULT.branchname | $raw %] >- [% ITEM_RESULT.location | $raw %] >+ [% AuthorisedValues.GetByCode( 'LOC', ITEM_RESULT.location ) | html %] > [% IF ITEM_RESULT.itemcallnumber %]([% ITEM_RESULT.itemcallnumber | $raw %])[% END %] > [% ITEM_RESULT.barcode | $raw %] > </li>[% END %] >-- >2.1.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 22352
:
85183
|
100597
|
107478
|
107479
|
112520
|
113112
|
119868
|
138174
|
138175