Bugzilla – Attachment 172392 Details for
Bug 38071
"Clear filter" on catalogue details page always disabled
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 38071: Apply kohaTableToggleClearFilter logic to patrons table
Bug-38071-Apply-kohaTableToggleClearFilter-logic-t.patch (text/plain), 1.98 KB, created by
Pedro Amorim
on 2024-10-04 12:43:08 UTC
(
hide
)
Description:
Bug 38071: Apply kohaTableToggleClearFilter logic to patrons table
Filename:
MIME Type:
Creator:
Pedro Amorim
Created:
2024-10-04 12:43:08 UTC
Size:
1.98 KB
patch
obsolete
>From e1d6336d07593289a4070798e7f89692b4676985 Mon Sep 17 00:00:00 2001 >From: Pedro Amorim <pedro.amorim@ptfs-europe.com> >Date: Fri, 4 Oct 2024 12:33:00 +0000 >Subject: [PATCH] Bug 38071: Apply kohaTableToggleClearFilter logic to patrons > table > >Same reason as the holdings table, this table is initialized at a later >time >--- > .../prog/en/includes/patron-search.inc | 17 +++++++++-------- > 1 file changed, 9 insertions(+), 8 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc >index 5320efe0966..e55f3931357 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc >@@ -716,16 +716,17 @@ > 'lengthMenu': [aLengthMenu, aLengthMenuLabel], > "pagingType": 'full_numbers', > "pageLength": [% Koha.Preference('PatronsPerPage') | html %], >- [% IF sticky_header %] > "initComplete": function(settings, json) { >- $("#[% sticky_header | html %]").show(); >- Sticky = $("#[% sticky_header | html %]"); >- Sticky.hcSticky({ >- stickTo: "#[% sticky_to | html %]", >- stickyClass: "floating" >- }); >+ $(this).kohaTableToggleClearFilter(settings); >+ [% IF sticky_header %] >+ $("#[% sticky_header | html %]").show(); >+ Sticky = $("#[% sticky_header | html %]"); >+ Sticky.hcSticky({ >+ stickTo: "#[% sticky_to | html %]", >+ stickyClass: "floating" >+ }); >+ [% END %] > }, >- [% END %] > fixedHeader: false, > }, typeof table_settings !== 'undefined' ? table_settings : null, 1, additional_filters); > >-- >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 38071
:
172390
|
172391
|
172392
|
172393
|
172394
|
172444
|
172446
|
172494