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)
committerAleisha Amohia <aleishaamohia@hotmail.com>
Tue, 15 Sep 2020 11:48:55 +0000 (23:48 +1200)
commita0c6e9ac842bca09d0f8612a31e5dd376b7dd712
tree354023d3dfe13ddcc9b421e9db7a8f739df1194f
parent8c20104bf3d8fb9df2dc03f140ec74a407149dc9
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>
(cherry picked from commit ce0988970945b063b514e26d41abd2fbe108177e)

Signed-off-by: Aleisha Amohia <aleishaamohia@hotmail.com>
reports/cat_issues_top.pl