]> git.koha-community.org Git - koha.git/commit
Bug 17801: Use issuedate for limits in Most Circulated Items
authorAndrew Fuerste-Henry <andrew@bywatersolutions.com>
Thu, 27 Aug 2020 18:03:14 +0000 (18:03 +0000)
committerLucas Gass <lucas@bywatersolutions.com>
Mon, 14 Sep 2020 21:43:59 +0000 (21:43 +0000)
commitce0988970945b063b514e26d41abd2fbe108177e
tree096afb7be06d8898aa56846b90d3183e3e2e6767
parentc08642687d35305cda2948272335530c8fc76b3c
Bug 17801: Use issuedate for limits in Most Circulated Items

To test:
1 - Have two checkouts in old_issues
    issue 1: timestamp 2020-08-01 00:00:00, issuedate 2019-08-01 00:00:00
    issue 2: timestamp 2020-07-01 00:00:00, issuedate 2019-07-01 00:00:00
2 - Perform a Most Circulated Items search for checkout dates 2020-06-01 to 2020-09-01. Both checkouts appear in search
3 - Repeat search with checkout dates 2019-06-01 to 2019-09-01. Neither checkout appears in search
4 - apply patch, restart all
5 - Repeat search with checkout dates 2020-06-01 to 2020-09-01. Neither checkout appears in search
6 - Repeat search with checkout dates 2019-06-01 to 2019-09-01. Both checkouts appears in search

Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit 89cc457ca25e0fbaccba28b249ceedeef6573abf)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
reports/cat_issues_top.pl