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", () => {