Bugzilla – Attachment 191079 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
9a7d05c.patch (text/plain), 1.27 KB, created by
Jonathan Druart
on 2026-01-09 14:40:12 UTC
(
hide
)
Description:
Bug 41563: Tidy kohaTable - acqui/vendor_issues.tt
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2026-01-09 14:40:12 UTC
Size:
1.27 KB
patch
obsolete
>From 9a7d05c4e2533fb4dffe333273844569c98bf19e 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 >--- > .../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.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 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