Koha/koha-tmpl/intranet-tmpl/prog/js/vue/components
Jonathan Druart e3286c4b0b
Bug 33490: Improve max date handling
It fixes:
1. /agreements?by_expired=true do no longer explode
2. Fill date with today's date when we setup the component and when we
hit "filter"

However there are a couple of things totally wrong:
1. We should not need is_fp_disabled, we could be able to use
  :disabled="!filters.by_expired"
in the template, but it does not work
2. We should not need to deal with filters.max_expiration_date the "old
JS way", but should use a Vue computed value instead. I've failed at
that

I think those 2 problems have the same root, the way we deal with
filters in data() is wrong, and we may be loosing the ref at some point.

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2023-05-05 09:13:34 -03:00
..
ERM Bug 33490: Improve max date handling 2023-05-05 09:13:34 -03:00
Breadcrumb.vue Bug 32806: Move Vue files for reusability 2023-02-27 11:11:58 -03:00
ButtonSubmit.vue Bug 32925: Use a new state for this message 2023-02-27 11:14:10 -03:00
Dialog.vue Bug 32991: Don't remove all messages when confirm box is closed 2023-03-10 11:15:34 -03:00
Help.vue Bug 33346: Add missing class and id to link 2023-03-31 12:11:06 +02:00
KohaTable.vue Bug 33483: Make KohaTable accept customizable actions button 2023-04-19 09:20:45 -03:00