We miss the location on the item details page (catalogue/moredetail.pl) item type, collection, callnumber and copynumber are displayed but the location is missing
23.05.04 appears to be ok. Which version did this problem appear in?
Did you hide the home library in table configuration? In the staff interface it's not possible (yet) to display the location as a separate column.
(In reply to Katrin Fischer from comment #2) > Did you hide the home library in table configuration? In the staff interface > it's not possible (yet) to display the location as a separate column. Ah, I realized that this is an enhancement request for the display on the "items tab"
Created attachment 157199 [details] [review] 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.
Created attachment 157202 [details] [review] 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>
Thanks Owen! For everybody who is interested, please note: the displayed location is the item field 'location' and not 'permanent_location'
Created attachment 157207 [details] [review] 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> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Pushed to master for 23.11. Nice work everyone, thanks!
+ [% AuthorisedValues.GetByCode( 'LOC', ITEM_DAT.location ) | html %] Oh since Bug 26323 we use other syntax : [% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.location', authorised_value => item.location ) | html %] items.location may no use AV 'LOC'. Also : Many places use class="shelvingloc" for CSS tuning. Example : https://git.koha-community.org/Koha-community/Koha/src/commit/474d6c7462c055c11e58986d837d8087f74562d9/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt#L374
Created attachment 158017 [details] [review] Bug 35059: (Follow-up) Get authorised value description from koha field
Provided and tested the follow-up as suggested by Frido.
(In reply to Katrin Fischer from comment #10) > Bug 35059: (Follow-up) Get authorised value description from koha field ^^^^^^^^^^ Heh.
The capital F making the test tools fail?
Enhancement not pushed to 23.05.x