Bugzilla – Attachment 191095 Details for
Bug 41564
Tidy kohaTable block - admin
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 41564: Tidy kohaTable - admin/marc-overlay-rules.tt
022561f.patch (text/plain), 1.36 KB, created by
Jonathan Druart
on 2026-01-09 14:45:07 UTC
(
hide
)
Description:
Bug 41564: Tidy kohaTable - admin/marc-overlay-rules.tt
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2026-01-09 14:45:07 UTC
Size:
1.36 KB
patch
obsolete
>From 022561f02a33d8502a3f0432c8d1d248165c18bb Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Thu, 8 Jan 2026 11:04:17 +0100 >Subject: [PATCH] Bug 41564: Tidy kohaTable - admin/marc-overlay-rules.tt > >--- > .../prog/en/modules/admin/marc-overlay-rules.tt | 5 ++++- > 1 file changed, 4 insertions(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/marc-overlay-rules.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/marc-overlay-rules.tt >index 75d1735db2e..62181e55e86 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/marc-overlay-rules.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/marc-overlay-rules.tt >@@ -318,6 +318,10 @@ > [% MACRO jsinclude BLOCK %] > [% Asset.js("js/admin-menu.js") | $raw %] > [% INCLUDE 'datatables.inc' %] >+ <script> >+ var categories = [% To.json( categories ) | $raw %]; >+ </script> >+ > <script> > $(document).ready(function(){ > >@@ -491,7 +495,6 @@ > } > }); > >- var categories = [% To.json( categories ) | $raw %]; > // Add * => * to this array of objects, and *reduce* it to one object > // Note: This allows displaying a sorted list of categories later, but we still depend on an object! > categories.unshift({ categorycode: '*', description: '*'}); >-- >2.43.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 41564
:
191082
|
191083
|
191084
|
191085
|
191086
|
191087
|
191088
|
191089
|
191090
|
191091
|
191092
|
191093
|
191094
|
191095
|
191096
|
191097
|
191098
|
191099
|
191100
|
191310
|
191311
|
191312
|
191313
|
191314
|
191315
|
191316
|
191317
|
191318
|
191319
|
191320
|
191321
|
191322
|
191323
|
191324
|
191325
|
191326
|
191327
|
191328
|
191329