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

(-)a/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/AgreementsList.vue (-6 / +7 lines)
Lines 113-123 export default { Link Here
113
            this.$emit("close")
113
            this.$emit("close")
114
        },
114
        },
115
        filter_table: async function () {
115
        filter_table: async function () {
116
            let new_route = build_url(
116
            if (this.before_route_entered) {
117
                "/cgi-bin/koha/erm/agreements",
117
                let new_route = build_url(
118
                this.filters
118
                    "/cgi-bin/koha/erm/agreements",
119
            )
119
                    this.filters
120
            this.$router.push(new_route)
120
                )
121
                this.$router.push(new_route)
122
            }
121
            if (this.filters.by_expired) {
123
            if (this.filters.by_expired) {
122
                if (!this.filters.max_expiration_date)
124
                if (!this.filters.max_expiration_date)
123
                    this.filters.max_expiration_date = new Date()
125
                    this.filters.max_expiration_date = new Date()
124
- 

Return to bug 32181