Bug 30726: Fix "yesterday" when limited to past dates
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 1 Jun 2022 12:36:52 +0000 (14:36 +0200)
committerArthur Suzuki <arthur.suzuki@biblibre.com>
Tue, 21 Jun 2022 14:02:45 +0000 (16:02 +0200)
commit3ce7357dc8a03da9d0a3e92b9e8b8dbbfa25fc0f
treebd45a3dd85ba9df87c4e4447962222bc7d7b87e3
parent2d2cff6fc691b185f34c691b7daaa87f88b89d72
Bug 30726: Fix "yesterday" when limited to past dates

Test plan:
Go to "Patrons with no checkouts" report, /cgi-bin/koha/reports/borrowers_out.pl
Select "Yesterday"
=> it automatically selects the previous day's date and populates the form field

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 637c580663f2abc5005ed2c96ef324e28c4feb20)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit 4369c228b8291b7e9861b7bdb2ec25564866c7dc)
Signed-off-by: Arthur Suzuki <arthur.suzuki@biblibre.com>
koha-tmpl/intranet-tmpl/prog/en/includes/calendar.inc