Bugzilla – Attachment 191157 Details for
Bug 41578
Tidy kohaTable block - serials
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 41578: Tidy kohaTable - serials/serials-search.tt
c1dbce2.patch (text/plain), 1.99 KB, created by
Jonathan Druart
on 2026-01-09 14:52:40 UTC
(
hide
)
Description:
Bug 41578: Tidy kohaTable - serials/serials-search.tt
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2026-01-09 14:52:40 UTC
Size:
1.99 KB
patch
obsolete
>From c1dbce2887261776d8a14b67c85004a5918d81a5 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Thu, 8 Jan 2026 14:45:17 +0100 >Subject: [PATCH] Bug 41578: Tidy kohaTable - serials/serials-search.tt > >--- > .../prog/en/modules/serials/serials-search.tt | 15 ++++++++++----- > 1 file changed, 10 insertions(+), 5 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-search.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-search.tt >index fe5eb4de851..df1c7a060f9 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-search.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-search.tt >@@ -283,6 +283,7 @@ > [% INCLUDE 'datatables.inc' %] > <script> > var subscriptionid = "[% subscriptionid | html %]"; >+ const edit_action_link = "[% edit_action_link | html %]"; > </script> > [% Asset.js("js/serials-toolbar.js") | $raw %] > <script> >@@ -293,7 +294,7 @@ > }); > > if (subscription_ids.length > 0) { >- var url = "[% edit_action_link | html %]"; >+ var url = edit_action_link; > url += '&subscriptionid=' + subscription_ids.join('&subscriptionid='); > location.href = url; > } else { >@@ -352,15 +353,19 @@ > var tab = $(this).data("tab"); > itemSelectionBuildEditLink( tab ); > }); >+ }); >+ </script> > >- [% IF ( mana ) %] >+ [% IF ( mana ) %] >+ <script> >+ $(document).ready(function() { > $(".local").hide(); > [% FOR field IN additional_fields_for_subscription %] > $("label[for=additional_field_[% field.id | $raw %]], input#additional_field_[% field.id | $raw %]").hide(); > [% END %] >- [% END %] >- }); >- </script> >+ }); >+ </script> >+ [% END %] > [% END %] > > [% INCLUDE 'intranet-bottom.inc' %] >-- >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 41578
:
191155
|
191156
| 191157 |
191158
|
191159
|
191160