Remove C4::Dates from: - reports/bor_issues_top.pl - reports/borrowers_out.pl - reports/cat_issues_top.pl - reports/itemslost.pl
Created attachment 43163 [details] [review] Remove C4::Dates from 'lists' in folder reports Remove C4::Dates from: - reports/bor_issues_top.pl - reports/borrowers_out.pl - reports/cat_issues_top.pl - reports/itemslost.pl To test: - Go to Home > Reports - Verify that following reports behave as before: - 'Patrons with the most checkouts (reports/bor_issues_top.pl) - 'Most circulated items' (reports/cat_issues_top.pl) - 'Patrons who haven't checked out (reports/borrowers_out.pl) - 'Items lost'
Still applies.
(In reply to Marc Véron from comment #1) > - 'Patrons who haven't checked out (reports/borrowers_out.pl) With the patch applied, the 'Global' column showing name and card number is missing.
Created attachment 43955 [details] [review] Remove C4::Dates from 'lists' in folder reports Remove C4::Dates from: - reports/bor_issues_top.pl - reports/borrowers_out.pl - reports/cat_issues_top.pl - reports/itemslost.pl To test: - Go to Home > Reports - Verify that following reports behave as before: - 'Patrons with the most checkouts (reports/bor_issues_top.pl) - 'Most circulated items' (reports/cat_issues_top.pl) - 'Patrons who haven't checked out (reports/borrowers_out.pl) - 'Items lost' Amended to fix issue with reports/borrowers_out.pl / see comment #3
In "Patrons with the most checkouts" report (reports/bor_issues_top.pl) doesn't work filter for checked-out and checked-in dates... Other reports works well.
Hi Josef, I just tested with patch applied: Checkout date from: 01/01/2015 ... To: 31/10/2015 Check-in date from: 01/01/2015 ... To: 31/10/2015 Any library / Itemtype / Category Limit: 5 By: None It worked. What did you use for testing?
I have test instance with only few checkouts in last 2 months. Some checkouts were made in september and some in october. But it doesn't matter which dates I use in checkout/checkin date filter, I still get exactly same data.
(In reply to Josef Moravec from comment #7) > I have test instance with only few checkouts in last 2 months. Some > checkouts were made in september and some in october. But it doesn't matter > which dates I use in checkout/checkin date filter, I still get exactly same > data. Josef, thanks a lot for testing, I found the issue. Amended patch follows.
Created attachment 44154 [details] [review] Remove C4::Dates from 'lists' in folder reports Remove C4::Dates from: - reports/bor_issues_top.pl - reports/borrowers_out.pl - reports/cat_issues_top.pl - reports/itemslost.pl To test: - Go to Home > Reports - Verify that following reports behave as before: - 'Patrons with the most checkouts (reports/bor_issues_top.pl) - 'Most circulated items' (reports/cat_issues_top.pl) - 'Patrons who haven't checked out (reports/borrowers_out.pl) - 'Items lost' Amended to fix issue with reports/borrowers_out.pl / see comment #3 Amended to fix issue with reports/bor_issues_top.pl / see comment #7
Created attachment 44417 [details] [review] Remove C4::Dates from 'lists' in folder reports Remove C4::Dates from: - reports/bor_issues_top.pl - reports/borrowers_out.pl - reports/cat_issues_top.pl - reports/itemslost.pl To test: - Go to Home > Reports - Verify that following reports behave as before: - 'Patrons with the most checkouts (reports/bor_issues_top.pl) - 'Most circulated items' (reports/cat_issues_top.pl) - 'Patrons who haven't checked out (reports/borrowers_out.pl) - 'Items lost' Amended to fix issue with reports/borrowers_out.pl / see comment #3 Amended to fix issue with reports/bor_issues_top.pl / see comment #7 http://bugs.koha-community.org/show_bug.cgi?id=14965 Signed-off-by: Frederic Demians <f.demians@tamil.fr> Code OK. The 4 reports works for me as before (same results).
Created attachment 44488 [details] [review] Remove C4::Dates from 'lists' in folder reports Remove C4::Dates from: - reports/bor_issues_top.pl - reports/borrowers_out.pl - reports/cat_issues_top.pl - reports/itemslost.pl To test: - Go to Home > Reports - Verify that following reports behave as before: - 'Patrons with the most checkouts (reports/bor_issues_top.pl) - 'Most circulated items' (reports/cat_issues_top.pl) - 'Patrons who haven't checked out (reports/borrowers_out.pl) - 'Items lost' Amended to fix issue with reports/borrowers_out.pl / see comment #3 Amended to fix issue with reports/bor_issues_top.pl / see comment #7 http://bugs.koha-community.org/show_bug.cgi?id=14965 Signed-off-by: Frederic Demians <f.demians@tamil.fr> Code OK. The 4 reports works for me as before (same results). Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Comment on attachment 44488 [details] [review] Remove C4::Dates from 'lists' in folder reports Review of attachment 44488 [details] [review]: ----------------------------------------------------------------- ::: reports/borrowers_out.pl @@ +232,4 @@ > } > $strcalc .= " AND NOT EXISTS (SELECT * FROM issues WHERE issues.borrowernumber=borrowers.borrowernumber "; > if ( @$filters[1] ) { > + $strcalc .= " AND issues.timestamp > ?"; I have opened bug 15138 for this typo.
Patch pushed to master. Thanks Marc!
*** Bug 15138 has been marked as a duplicate of this bug. ***