Bug 8287: Improve "show checked out items" filter on the overdues report
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 16 Dec 2020 14:28:50 +0000 (15:28 +0100)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 15 Feb 2021 10:48:55 +0000 (11:48 +0100)
commit35994c1da5f5a7d29a192310822bf41a978d0a1f
tree3297996c97110c8362843e62d2bfad7c7a88b783
parenta63748e241ccfc2ae4dc4487c5c6cb87b1b54b84
Bug 8287: Improve "show checked out items" filter on the overdues report

The "Show any items currently checked out" was confusing, especially if
the "From" and "To" due date filters were passed.

This patch moves the checkbox close to the 2 other filters and show/hide
the due date filters when needed.

Test plan:
0. Have some overdue
1. Search for overdues
2. Confirm that the filters are shown/hidden depending on the status of
the checkbox
3. Fill "To" with a date, tick the checkbox, submit the form
=> Confirm that the date was not taken into account

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
koha-tmpl/intranet-tmpl/prog/en/modules/circ/overdue.tt