Bugzilla – Attachment 173481 Details for
Bug 33484
Ability to remember user's selected table configuration and search filters for tables
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 33484: External filter into state - ill requests
Bug-33484-External-filter-into-state---ill-request.patch (text/plain), 1.79 KB, created by
Jonathan Druart
on 2024-10-28 09:46:38 UTC
(
hide
)
Description:
Bug 33484: External filter into state - ill requests
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2024-10-28 09:46:38 UTC
Size:
1.79 KB
patch
obsolete
>From f3991e858ea1597d604cf18ed5264e3ce13043db Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Mon, 21 Oct 2024 14:18:18 +0200 >Subject: [PATCH] Bug 33484: External filter into state - ill requests > >Signed-off-by: Pedro Amorim <pedro.amorim@ptfs-europe.com> >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> >--- > koha-tmpl/intranet-tmpl/prog/js/ill-list-table.js | 14 +++++++++++++- > 1 file changed, 13 insertions(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/js/ill-list-table.js b/koha-tmpl/intranet-tmpl/prog/js/ill-list-table.js >index 3476fd2a499..7330e709ac3 100644 >--- a/koha-tmpl/intranet-tmpl/prog/js/ill-list-table.js >+++ b/koha-tmpl/intranet-tmpl/prog/js/ill-list-table.js >@@ -194,6 +194,18 @@ $(document).ready(function() { > } > }; > >+ let external_filter_nodes = { >+ illfilter_keyword: '#illfilter_keyword', >+ illfilter_backend: '#illfilter_backend', >+ illfilter_status: '#illfilter_status', >+ illfilter_dateplaced_start: '#illfilter_dateplaced_start', >+ illfilter_dateplaced_end: '#illfilter_dateplaced_end', >+ illfilter_datemodified_start: '#illfilter_datemodified_start', >+ illfilter_datemodified_end: '#illfilter_datemodified_end', >+ illfilter_branchname: '#illfilter_branchname', >+ illfilter_patron: '#illfilter_patron', >+ }; >+ > let table_id = "#ill-requests"; > > if (borrower_prefilter) { >@@ -426,7 +438,7 @@ $(document).ready(function() { > } > } > ] >- }, table_settings, null, additional_filters); >+ }, table_settings, null, additional_filters, undefined, external_filter_nodes); > > $("#illfilter_form").on('submit', filter); > >-- >2.34.1
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 33484
:
149444
|
149445
|
149447
|
149448
|
149449
|
149925
|
149926
|
149927
|
149928
|
149929
|
149930
|
149974
|
149975
|
149976
|
149977
|
149978
|
149979
|
173443
|
173444
|
173445
|
173446
|
173447
|
173448
|
173449
|
173450
|
173451
|
173452
|
173453
|
173454
|
173455
|
173456
|
173457
|
173458
|
173459
|
173460
|
173461
|
173462
|
173463
|
173464
|
173465
|
173466
|
173467
|
173468
|
173469
|
173470
|
173471
|
173472
|
173473
|
173474
|
173475
|
173476
|
173477
|
173478
|
173479
|
173480
| 173481 |
173482
|
173483
|
173484
|
173485
|
173486
|
173546
|
173606
|
173607
|
173985
|
174219