Bugzilla – Attachment 192758 Details for
Bug 41563
Tidy kohaTable block - acqui
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 41563: Tidy kohaTable - acqui/vendor_issues.tt
Bug-41563-Tidy-kohaTable---acquivendorissuestt.patch (text/plain), 1.38 KB, created by
Paul Derscheid
on 2026-02-09 12:12:20 UTC
(
hide
)
Description:
Bug 41563: Tidy kohaTable - acqui/vendor_issues.tt
Filename:
MIME Type:
Creator:
Paul Derscheid
Created:
2026-02-09 12:12:20 UTC
Size:
1.38 KB
patch
obsolete
>From ceadac20aec88770c0d93aa313e26bad14f86f7a Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Thu, 8 Jan 2026 10:33:03 +0100 >Subject: [PATCH] Bug 41563: Tidy kohaTable - acqui/vendor_issues.tt > >See bug 41324 comment 6 >1. Variable serialization > >Signed-off-by: Owen Leonard <oleonard@myacpl.org> >Signed-off-by: Paul Derscheid <paul.derscheid@lmscloud.de> >--- > .../intranet-tmpl/prog/en/modules/acqui/vendor_issues.tt | 6 +++++- > 1 file changed, 5 insertions(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/vendor_issues.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/vendor_issues.tt >index c52799f92a8..f969a8b07ea 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/vendor_issues.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/vendor_issues.tt >@@ -210,9 +210,13 @@ > [% Asset.js("js/acquisitions-menu.js") | $raw %] > [% INCLUDE 'calendar.inc' %] > [% INCLUDE 'datatables.inc' %] >+ <script> >+ const vendor_id = [% vendor.id | html %]; >+ </script> >+ > <script> > $(document).ready(function() { >- var issues_table_url = '/api/v1/acquisitions/vendors/[% vendor.id | uri %]/issues?'; >+ var issues_table_url = `/api/v1/acquisitions/vendors/${vendor_id}/issues?`; > > var issues_table = $("#vendor_issues").kohaTable({ > ajax: { >-- >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 41563
:
191069
|
191070
|
191071
|
191072
|
191073
|
191074
|
191075
|
191076
|
191077
|
191078
|
191079
|
191080
|
191290
|
191291
|
191292
|
191293
|
191294
|
191295
|
191296
|
191297
|
191298
|
191299
|
191300
|
191301
|
191302
|
191303
|
192026
|
192730
|
192731
|
192748
|
192749
|
192750
|
192751
|
192752
|
192753
|
192754
|
192755
|
192756
|
192757
| 192758 |
192759
|
192760
|
192761
|
192762
|
192963