There's just a little bug in the display of moredetail.pl To reproduce: Set the "Damaged status", "Withdrawn status", and "Lost status" for an item on bib 29 on KTD with a privileged user. Now create a user with just the "catalogue" permission and go to http://localhost:8081/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=29 NOTE: You will see the Withdrawn status, but the "Lost status" and "Damaged status" won't appear.
Created attachment 185703 [details] [review] Bug 40689: Fix "Damaged status" and "Lost status" on moredetail.pl This change just repairs moredetail.tt to re-apply the fix from bug 16157 which seems to have only been partially applied back in 2016. Test plan: 0. Apply the patch 1. Set the "Damaged status", "Withdrawn status", and "Lost status" for an item 2. Go to /cgi-bin/koha/catalogue/moredetail.pl?biblionumber=<biblionumber from item> 3. Note how "Withdrawn status", "Lost status", and "Damaged status" all appear now
Created attachment 185704 [details] [review] Bug 40689: Fix "Damaged status" and "Lost status" on moredetail.pl This change just repairs moredetail.tt to re-apply the fix from bug 16157 which seems to have only been partially applied back in 2016. Test plan: 0. Apply the patch 1. Set the "Damaged status", "Withdrawn status", and "Lost status" for an item 2. Create a user that only has "catalogue" permission and log in as them 3. Go to /cgi-bin/koha/catalogue/moredetail.pl?biblionumber=<biblionumber from item> 4. Note how "Withdrawn status", "Lost status", and "Damaged status" all appear now