https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43313 --- Comment #1 from Olivia Reynolds <olivia.reynolds@openfifth.co.uk> --- Created attachment 203740 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=203740&action=edit Bug 43313: Fix catalogue detail shelving location display During the tidying up of Bug 41566, av_loc was accidentally changed to map descriptions to codes, rather than vice-versa. This broke the formatting of item permanent locations. Test plan (for KTD): 1. Navigate to an catalogue detail page, for example http://localhost:8081/cgi-bin/koha/catalogue/detail.pl?biblionumber=262 2. Run the following SQL, replacing 262 with the biblionumber of your chosen page: UPDATE items SET location='CHILD' SET permanent_location='GEN' WHERE biblionumber=262; 3. Refresh the page and verify the items' shelving locations display "(Children's area)" only. 4. Apply patch and force refresh. 5. Verify the shelving location now correctly displays "General stacks" and "(Children's area)" on separate lines. Sponsored-by: Open Fifth -- You are receiving this mail because: You are watching all bug changes.