Bugzilla – Attachment 182607 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.21 KB, created by
David Nind
on 2025-05-19 13:59:45 UTC
(
hide
)
Description:
Bug 39932: Remove split in template
Filename:
MIME Type:
Creator:
David Nind
Created:
2025-05-19 13:59:45 UTC
Size:
1.21 KB
patch
obsolete
>From 0c4426534886797e36b5a0dae536194997d5e8f2 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> >--- > .../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 ec3341b1ef..67440510e6 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.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 39932
:
182598
|
182599
|
182600
|
182605
|
182606
|
182607
|
182632
|
182633
|
182634