Bugzilla – Attachment 191585 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
Bug-41578-Tidy-kohaTable---serialsserials-searchtt.patch (text/plain), 2.03 KB, created by
Owen Leonard
on 2026-01-16 18:22:28 UTC
(
hide
)
Description:
Bug 41578: Tidy kohaTable - serials/serials-search.tt
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2026-01-16 18:22:28 UTC
Size:
2.03 KB
patch
obsolete
>From 58a38abd829b2283fc5bef0aa83f3a98eddaaf0b 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 > >Signed-off-by: Owen Leonard <oleonard@myacpl.org> >--- > .../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.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 41578
:
191155
|
191156
|
191157
|
191158
|
191159
|
191160
|
191583
|
191584
| 191585 |
191586
|
191587
|
191588
|
191589
|
191590