Bugzilla – Attachment 170770 Details for
Bug 37544
Item table not loading on Normal View, after upgrade
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 37544: Prevent the item table to crash if ccode is not linked with an av cat
Bug-37544-Prevent-the-item-table-to-crash-if-ccode.patch (text/plain), 1.29 KB, created by
Jonathan Druart
on 2024-08-27 12:44:22 UTC
(
hide
)
Description:
Bug 37544: Prevent the item table to crash if ccode is not linked with an av cat
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2024-08-27 12:44:22 UTC
Size:
1.29 KB
patch
obsolete
>From e78accd7bbe113e90de134638c9f9ff30f8ae7eb Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Tue, 27 Aug 2024 14:42:50 +0200 >Subject: [PATCH] Bug 37544: Prevent the item table to crash if ccode is not > linked with an av cat > >Same as the previous patch for collection_code (952$8) >--- > .../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 9af11948d81..787cd163c60 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 >@@ -385,7 +385,7 @@ > searchable: true, > orderable: true, > render: function (data, type, row, meta) { >- return escape_str(row._strings.collection_code.str); >+ return escape_str(row._strings.collection_code ? row._strings.collection_code.str : row.collection_code); > } > }, > [% IF Koha.Preference('EnableItemGroups') %] >-- >2.34.1
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 37544
:
169943
|
169965
|
170006
|
170131
|
170769
| 170770