]> git.koha-community.org Git - koha.git/commit
Bug 29500: Flatpickr - accept original date in the past and not others
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 17 Nov 2021 10:22:57 +0000 (11:22 +0100)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 22 Nov 2021 10:48:46 +0000 (11:48 +0100)
commit6cc3e618d84c85ed353392006fc06ed094b46f27
treeba6574f6969745c853fa37230b080e57c19b935f
parent4f5670c889bb0a56f7493504e79282a846f935bf
Bug 29500: Flatpickr - accept original date in the past and not others

Bug 29241 was supposed to fix this but it didn't properly.
We are accepting other dates in the past when we should only accept the
original one (the one from the DB) AND dates in future.

Test plan:
Retry test plan for 29241 and confirm that you cannot set manually another
date in the past.

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
koha-tmpl/intranet-tmpl/prog/en/includes/calendar.inc