Bugzilla – Attachment 174114 Details for
Bug 38100
Items with damaged status are shown in OPAC results as "Not available" even with AllowHoldsOnDamagedItems
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 38100: (QA follow-up) Tidy changes in C4/XSLT.pm
Bug-38100-QA-follow-up-Tidy-changes-in-C4XSLTpm.patch (text/plain), 958 bytes, created by
Paul Derscheid
on 2024-11-07 11:13:41 UTC
(
hide
)
Description:
Bug 38100: (QA follow-up) Tidy changes in C4/XSLT.pm
Filename:
MIME Type:
Creator:
Paul Derscheid
Created:
2024-11-07 11:13:41 UTC
Size:
958 bytes
patch
obsolete
>From 5d0644fce2300da863af935977cdb5d316ba751d Mon Sep 17 00:00:00 2001 >From: Paul Derscheid <paul.derscheid@lmscloud.de> >Date: Thu, 7 Nov 2024 11:11:46 +0000 >Subject: [PATCH] Bug 38100: (QA follow-up) Tidy changes in C4/XSLT.pm > >--- > C4/XSLT.pm | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > >diff --git a/C4/XSLT.pm b/C4/XSLT.pm >index 93ae47ec85..a2134225d8 100644 >--- a/C4/XSLT.pm >+++ b/C4/XSLT.pm >@@ -320,9 +320,9 @@ sub buildKohaItemsNamespace { > $status = 'other'; > $substatus = 'In transit'; > } >- elsif ($item->damaged && ! C4::Context->preference('AllowHoldsOnDamagedItems')) { >- $status = 'other'; >- $substatus = "Damaged"; >+ elsif ( $item->damaged && !C4::Context->preference('AllowHoldsOnDamagedItems') ) { >+ $status = 'other'; >+ $substatus = 'Damaged'; > } > elsif ($item->itemlost) { > $status = 'other'; >-- >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 38100
:
172426
|
172427
|
172429
|
172430
|
174112
|
174113
| 174114