Bugzilla – Attachment 194943 Details for
Bug 41582
Tidy kohaTable block - opac
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 41582: Tidy kohaTable - opac-account.tt
Bug-41582-Tidy-kohaTable---opac-accounttt.patch (text/plain), 1.64 KB, created by
Paul Derscheid
on 2026-03-09 07:43:55 UTC
(
hide
)
Description:
Bug 41582: Tidy kohaTable - opac-account.tt
Filename:
MIME Type:
Creator:
Paul Derscheid
Created:
2026-03-09 07:43:55 UTC
Size:
1.64 KB
patch
obsolete
>From 685d3ab709fa00fdef8683d5da8fb9a56b4e8877 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Thu, 8 Jan 2026 16:37:06 +0100 >Subject: [PATCH] Bug 41582: Tidy kohaTable - opac-account.tt > >Signed-off-by: Owen Leonard <oleonard@myacpl.org> >Signed-off-by: Paul Derscheid <paul.derscheid@lmscloud.de> >--- > .../opac-tmpl/bootstrap/en/modules/opac-account.tt | 13 ++++++++----- > 1 file changed, 8 insertions(+), 5 deletions(-) > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-account.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-account.tt >index 75dd67bac33..79efc3487ae 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-account.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-account.tt >@@ -83,6 +83,10 @@ > [% INCLUDE 'opac-bottom.inc' %] > [% BLOCK jsinclude %] > [% INCLUDE 'datatables.inc' %] >+ <script> >+ const ENABLE_OPAC_PAYMENTS = [% ENABLE_OPAC_PAYMENTS ? 1 : 0 | html %]; >+ </script> >+ > <script> > $( document ).ready(function() { > >@@ -90,11 +94,10 @@ > var txtInactivefilter = _("Show all transactions"); > > var fines_table = $("#finestable").kohaTable({ >- [% IF ENABLE_OPAC_PAYMENTS %] >- order: [[ 1, "desc" ]], >- [% ELSE %] >- order: [[ 0, "desc" ]], >- [% END %] >+ ...(ENABLE_OPAC_PAYMENTS >+ ? {order: [[ 1, "desc" ]]} >+ : {order: [[ 0, "desc" ]]} >+ ), > dom: '<"#filter_p">', > responsive: { > details: { "type": 'column',"target": -1 } >-- >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 41582
:
191174
|
191175
|
191176
|
191177
|
191178
|
191179
|
191180
|
191181
|
191182
|
191183
|
191184
|
191185
|
191186
|
191187
|
191188
|
191450
|
191451
|
191452
|
191453
|
191454
|
191455
|
191456
|
191457
|
191458
|
191459
|
191460
|
191461
|
191462
|
191463
|
191464
|
191465
|
191569
|
194666
|
194667
|
194668
|
194669
|
194670
|
194671
|
194672
|
194673
|
194674
|
194675
|
194676
|
194677
|
194678
|
194679
|
194680
|
194681
|
194682
| 194943 |
194944
|
194945
|
194946
|
194947
|
194948
|
194949
|
194950
|
194951
|
194952
|
194953
|
194954
|
194955
|
194956
|
194957
|
194958
|
194959
|
194960
|
194961
|
194962
|
195225