Bugzilla – Attachment 192755 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/newordersuggestion.tt
Bug-41563-Tidy-kohaTable---acquinewordersuggestion.patch (text/plain), 1.78 KB, created by
Paul Derscheid
on 2026-02-09 12:12:12 UTC
(
hide
)
Description:
Bug 41563: Tidy kohaTable - acqui/newordersuggestion.tt
Filename:
MIME Type:
Creator:
Paul Derscheid
Created:
2026-02-09 12:12:12 UTC
Size:
1.78 KB
patch
obsolete
>From c826141470e2c423b10cd1be24e1e19616566d6f Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Tue, 6 Jan 2026 16:30:42 +0100 >Subject: [PATCH] Bug 41563: Tidy kohaTable - acqui/newordersuggestion.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> >--- > .../prog/en/modules/acqui/newordersuggestion.tt | 7 ++++++- > 1 file changed, 6 insertions(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/newordersuggestion.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/newordersuggestion.tt >index a598e9d822d..baae43a1749 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/newordersuggestion.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/newordersuggestion.tt >@@ -1,4 +1,5 @@ > [% USE raw %] >+[% USE To %] > [% USE Koha %] > [% USE Branches %] > [% USE Price %] >@@ -129,6 +130,10 @@ > [% Asset.js("js/acquisitions-menu.js") | $raw %] > [% INCLUDE 'datatables.inc' %] > [% INCLUDE 'calendar.inc' %] >+ <script> >+ const logged_in_user = [% To.json(logged_in_user.unblessed) | $raw %]; >+ </script> >+ > <script> > $(document).ready(function() { > var suggestionst = $("#suggestionst").kohaTable({ >@@ -140,7 +145,7 @@ > let table_dt = suggestionst.DataTable(); > $("#show_only_mine").on('click', function(e){ > e.preventDefault(); >- table_dt.columns(0).search('^[% logged_in_user.borrowernumber | html %]$', true).draw(); >+ table_dt.columns(0).search(`^${logged_in_user.borrowernumber}$`, true).draw(); > }); > $("#show_all").on('click', function(e){ > e.preventDefault(); >-- >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