Bugzilla – Attachment 159350 Details for
Bug 35436
Copy is not translatable in OPAC search history
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Fix - Bug 35436 - Copy is not translatable in OPAC Search History
Fix---Bug-35436---Copy-is-not-translatable-in-OPAC.patch (text/plain), 1.94 KB, created by
Adolfo RodrÃguez Taboada
on 2023-11-29 16:17:20 UTC
(
hide
)
Description:
Fix - Bug 35436 - Copy is not translatable in OPAC Search History
Filename:
MIME Type:
Creator:
Adolfo RodrÃguez Taboada
Created:
2023-11-29 16:17:20 UTC
Size:
1.94 KB
patch
obsolete
>From ba149a6c2e57d7b933043ac22bcf80ede84068a8 Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Adolfo=20Rodr=C3=ADguez?= <adolfo.rodriguez@xercode.es> >Date: Wed, 29 Nov 2023 17:15:58 +0100 >Subject: [PATCH] Fix - Bug 35436 - Copy is not translatable in OPAC Search > History > >--- > .../bootstrap/en/modules/opac-search-history.tt | 9 ++++++--- > 1 file changed, 6 insertions(+), 3 deletions(-) > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-search-history.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-search-history.tt >index 16d7effb84..7abcb808e8 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-search-history.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-search-history.tt >@@ -284,13 +284,15 @@ > > [% BLOCK jsinclude %] > [% INCLUDE 'datatables.inc' %] >+[% INCLUDE 'columns_settings.inc' %] > <script> > > var MSG_CONFIRM_DELETE_HISTORY = _("Are you sure you want to delete selected search history entries?"); > $(document).ready(function() { > // We show table ordered by descending dates by default > // (so that the more recent query is shown first) >- $(".historyt").dataTable($.extend(true, {}, dataTablesDefaults, { >+ var columns_settings = []; // Empty because there are no columns we want to be configurable >+ var table = KohaTable(".historyt", { > "order": [[ 1, "desc" ]], > "dom": '<"top"<"table_entries"><"table_controls"fB>>t', > "columnDefs": [ >@@ -305,11 +307,12 @@ > "responsive": { > "details": { "type": 'column',"target": -1 } > }, >- })); >+ }, columns_settings); > > $('a[data-toggle="tab"]').on('shown.bs.tab', function (e) { >- $(".historyt").DataTable().responsive.recalc(); >+ table.DataTable().responsive.recalc(); > }); >+ > $(".CheckNone").click(function(e){ > e.preventDefault(); > var form = $(this).parents("form").get(0); >-- >2.30.2
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 35436
:
159349
|
159350
|
159387
|
159388
|
159468
|
159663