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 Signed-off-by: Noah Tremblay <noah.tremblay@inlibro.com> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Signed-off-by: Lucas Gass <lucas@bywatersolutions.com> (cherry picked from commit9278eed6f2) Signed-off-by: Paul Derscheid <paul.derscheid@lmscloud.de> (cherry picked from commite9b45d28a0) Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
This commit is contained in:
parent
715768506c
commit
a9a8843fa5
|
|
@ -233,7 +233,7 @@
|
|||
</form>
|
||||
[% ELSE %]
|
||||
[% FOREACH itemlostloo IN itemlostloop %]
|
||||
[% IF ( itemlostloo.selected ) %]
|
||||
[% IF ( itemlostloo.authorised_value == ITEM_DAT.itemlost ) %]
|
||||
[% itemlostloo.lib | html %]
|
||||
[% END %]
|
||||
[% END %]
|
||||
|
|
@ -268,7 +268,7 @@
|
|||
</form>
|
||||
[% ELSE %]
|
||||
[% FOREACH itemdamagedloo IN itemdamagedloop %]
|
||||
[% IF ( itemdamagedloo.selected ) %]
|
||||
[% IF ( itemdamagedloo.authorised_value == ITEM_DAT.damaged ) %]
|
||||
[% itemdamagedloo.lib | html %]
|
||||
[% END %]
|
||||
[% END %]
|
||||
|
|
|
|||
Loading…
Reference in New Issue