Bugzilla – Attachment 155021 Details for
Bug 34466
"Clear filter" always disabled
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 34466: Add listener to enable or disable clear filter button on KohaTable.vue
Bug-34466-Add-listener-to-enable-or-disable-clear-.patch (text/plain), 1.19 KB, created by
Pedro Amorim
on 2023-08-31 16:19:31 UTC
(
hide
)
Description:
Bug 34466: Add listener to enable or disable clear filter button on KohaTable.vue
Filename:
MIME Type:
Creator:
Pedro Amorim
Created:
2023-08-31 16:19:31 UTC
Size:
1.19 KB
patch
obsolete
>From 6509d116e0d10fa533f4571baf5de0e2dccb3bbc Mon Sep 17 00:00:00 2001 >From: Pedro Amorim <pedro.amorim@ptfs-europe.com> >Date: Thu, 31 Aug 2023 16:18:56 +0000 >Subject: [PATCH] Bug 34466: Add listener to enable or disable clear filter > button on KohaTable.vue > >Test plan: >Apply only the cypress test patch >Run KohaTable_spec.ts >Notice it fails > >Apply this patch, repeat >--- > .../intranet-tmpl/prog/js/vue/components/KohaTable.vue | 7 +++++++ > 1 file changed, 7 insertions(+) > >diff --git a/koha-tmpl/intranet-tmpl/prog/js/vue/components/KohaTable.vue b/koha-tmpl/intranet-tmpl/prog/js/vue/components/KohaTable.vue >index a5af9e7450..0e27318e6a 100644 >--- a/koha-tmpl/intranet-tmpl/prog/js/vue/components/KohaTable.vue >+++ b/koha-tmpl/intranet-tmpl/prog/js/vue/components/KohaTable.vue >@@ -153,6 +153,13 @@ export default { > .columns(this.hidden_ids) > .visible(false) > >+ dt.on("search.dt", function (e, settings) { >+ toggledClearFilter( >+ settings.oPreviousSearch.sSearch, >+ settings.nTable.id >+ ) >+ }) >+ > if (Object.keys(this.actions).length) { > const self = this > dt.on("draw", () => { >-- >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 34466
:
154799
|
155020
|
155021
|
155064
|
155065