View | Details | Raw Unified | Return to bug 34466
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/js/vue/components/KohaTable.vue (-1 / +14 lines)
Lines 153-158 export default { Link Here
153
            .columns(this.hidden_ids)
153
            .columns(this.hidden_ids)
154
            .visible(false)
154
            .visible(false)
155
155
156
        dt.on("search.dt", function (e, settings) {
157
            let searchText = settings.oPreviousSearch.sSearch
158
            let tableId = settings.nTable.id
159
            if (searchText == "") {
160
                $("#" + tableId + "_wrapper")
161
                    .find(".dt_button_clear_filter")
162
                    .addClass("disabled")
163
            } else {
164
                $("#" + tableId + "_wrapper")
165
                    .find(".dt_button_clear_filter")
166
                    .removeClass("disabled")
167
            }
168
        })
169
156
        if (Object.keys(this.actions).length) {
170
        if (Object.keys(this.actions).length) {
157
            const self = this
171
            const self = this
158
            dt.on("draw", () => {
172
            dt.on("draw", () => {
159
- 

Return to bug 34466