Bugzilla – Attachment 185703 Details for
Bug 40689
"Lost status" and "Damaged status" don't appear on moredetail.pl if user can't update them
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 40689: Fix "Damaged status" and "Lost status" on moredetail.pl
Bug-40689-Fix-Damaged-status-and-Lost-status-on-mo.patch (text/plain), 2.27 KB, created by
David Cook
on 2025-08-22 06:13:05 UTC
(
hide
)
Description:
Bug 40689: Fix "Damaged status" and "Lost status" on moredetail.pl
Filename:
MIME Type:
Creator:
David Cook
Created:
2025-08-22 06:13:05 UTC
Size:
2.27 KB
patch
obsolete
>From b43362d974b84764bfefc84083b7bca878022fac Mon Sep 17 00:00:00 2001 >From: David Cook <dcook@prosentient.com.au> >Date: Fri, 22 Aug 2025 06:11:15 +0000 >Subject: [PATCH] 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 >--- > .../intranet-tmpl/prog/en/modules/catalogue/moredetail.tt | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >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 84526221a9..1bb67a8e43 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/moredetail.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/moredetail.tt >@@ -285,7 +285,7 @@ > </form> > [% ELSE %] > [% FOREACH itemlostloo IN itemlostloop %] >- [% IF ( itemlostloo.selected ) %] >+ [% IF ( itemlostloo.authorised_value == ITEM_DAT.itemlost ) %] > [% itemlostloo.lib | html %] > [% END %] > [% END %] >@@ -320,7 +320,7 @@ > </form> > [% ELSE %] > [% FOREACH itemdamagedloo IN itemdamagedloop %] >- [% IF ( itemdamagedloo.selected ) %] >+ [% IF ( itemdamagedloo.authorised_value == ITEM_DAT.damaged ) %] > [% itemdamagedloo.lib | html %] > [% END %] > [% END %] >-- >2.39.5
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 40689
:
185703
|
185704