Bugzilla – Attachment 182634 Details for
Bug 39932
Koha::Item->_status should return an array
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 39932: Remove split in template
Bug-39932-Remove-split-in-template.patch (text/plain), 1.27 KB, created by
Martin Renvoize (ashimema)
on 2025-05-19 18:04:21 UTC
(
hide
)
Description:
Bug 39932: Remove split in template
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2025-05-19 18:04:21 UTC
Size:
1.27 KB
patch
obsolete
>From 0638584c43da8ab0b31d258437ba1f1f738f4238 Mon Sep 17 00:00:00 2001 >From: Tomas Cohen Arazi <tomascohen@theke.io> >Date: Mon, 19 May 2025 08:58:17 -0300 >Subject: [PATCH] Bug 39932: Remove split in template > >Signed-off-by: David Nind <david@davidnind.com> >Signed-off-by: Martin Renvoize <martin.renvoize@openfifth.co.uk> >--- > .../en/includes/html_helpers/tables/items/catalogue_detail.inc | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/html_helpers/tables/items/catalogue_detail.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/html_helpers/tables/items/catalogue_detail.inc >index ec3341b1ef9..67440510e69 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/html_helpers/tables/items/catalogue_detail.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/html_helpers/tables/items/catalogue_detail.inc >@@ -511,7 +511,7 @@ > orderable: false, > render: function (data, type, row, meta) { > let nodes = ""; >- row._status.split(",").forEach( status => { >+ row._status.forEach( status => { > if ( status == 'checked_out' || status == 'local_use') { > nodes += '<span>'; > >-- >2.49.0
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 39932
:
182598
|
182599
|
182600
|
182605
|
182606
|
182607
|
182632
|
182633
| 182634