[Koha] Forced LIMIT on reports
George Adams
g_adams27 at hotmail.com
Fri May 2 03:47:12 NZST 2008
I was confused why my custom report wasn't showing me what I thought it should. Running the same query in the MySQL command-line gave me 22 rows, but the equivalent Koha report only showed 20 rows. Finally, with some MySQL logging and grep'ing, I found this:
/usr/share/koha/lib/C4/Reports.pm
lines 335-340
# take this line out when in production
if ($format eq 'csv' or $format eq 'tab'){
}
else {
$sql .= " LIMIT 20";
}
So, er, could those lines be taken out? :-)
_________________________________________________________________
Back to work after baby–how do you know when you’re ready?
http://lifestyle.msn.com/familyandparenting/articleNW.aspx?cp-documentid=5797498&ocid=T067MSN40A0701A
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.katipo.co.nz/pipermail/koha/attachments/20080501/8937cb19/attachment-0001.htm
More information about the Koha
mailing list