Bugzilla – Attachment 157202 Details for
Bug 35059
Display item's shelving location on the items tab
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 35059: Display item location on item details (catalogue/moredetail.pl)
Bug-35059-Display-item-location-on-item-details-ca.patch (text/plain), 2.99 KB, created by
ByWater Sandboxes
on 2023-10-16 15:12:23 UTC
(
hide
)
Description:
Bug 35059: Display item location on item details (catalogue/moredetail.pl)
Filename:
MIME Type:
Creator:
ByWater Sandboxes
Created:
2023-10-16 15:12:23 UTC
Size:
2.99 KB
patch
obsolete
>From 4b32712b0cc7c15d52b16f5c779c582beb26bc06 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Mon, 16 Oct 2023 14:43:44 +0000 >Subject: [PATCH] Bug 35059: Display item location on item details > (catalogue/moredetail.pl) > >This patch updates the item details template so that item location is >displayed along with information like collection and call number. > >The template has also been modified to correct the label "Item >callnumber" to "Item call number." > >To test, apply the patch and update an item, if necessary, to add a >shelving location. > >- View the bibliographic details page of the record. >- Click the "Items" tab in the left-hand sidebar menu. >- Under the "Item information" subheading you should see a line for > "Shelving location" just after the "Item call number" line. >- Confirm that the correct item location description is shown. > >Signed-off-by: Michaela Sieber <michaela.sieber@kit.edu> >--- > .../prog/en/modules/catalogue/moredetail.tt | 9 ++++++++- > 1 file changed, 8 insertions(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/moredetail.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/moredetail.tt >index 5e00e7b2e9..9274ff450e 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/moredetail.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/moredetail.tt >@@ -4,6 +4,7 @@ > [% USE Koha %] > [% USE Branches %] > [% USE Price %] >+[% USE AuthorisedValues %] > [% PROCESS 'i18n.inc' %] > [% SET footerjs = 1 %] > [% INCLUDE 'doc-head-open.inc' %] >@@ -136,10 +137,16 @@ > [% IF ( ITEM_DAT.ccode) %] > <li><span class="label">Collection:</span> [% ITEM_DAT.ccode | html %]</li> > [% END %] >- <li><span class="label">Item callnumber:</span> [% ITEM_DAT.itemcallnumber | html %] </li> >+ <li><span class="label">Item call number:</span> [% ITEM_DAT.itemcallnumber | html %]</li> > [% IF ( ITEM_DAT.displaycopy ) %] > <li><span class="label">Copy number:</span> [% ITEM_DAT.copyvol | html %] </li> > [% END %] >+ [% IF ( ITEM_DAT.location ) %] >+ <li> >+ <span class="label">Shelving location:</span> >+ [% AuthorisedValues.GetByCode( 'LOC', ITEM_DAT.location ) | html %] >+ </li> >+ [% END %] > [% IF ( ITEM_DAT.replacementprice ) %] > <li><span class="label">Replacement price:</span> [% ITEM_DAT.replacementprice | $Price %] </li> > [% END %] >-- >2.30.2
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 35059
:
157199
|
157202
|
157207
|
158017