Bugzilla – Attachment 191076 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
afbb68c.patch (text/plain), 1.67 KB, created by
Jonathan Druart
on 2026-01-09 14:40:08 UTC
(
hide
)
Description:
Bug 41563: Tidy kohaTable - acqui/newordersuggestion.tt
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2026-01-09 14:40:08 UTC
Size:
1.67 KB
patch
obsolete
>From afbb68c1ae85f625f5c9f0a5a499470cc4d6f23f 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 >--- > .../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.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