fix SQL report pagination
This commit is contained in:
parent
28c30cc5c1
commit
cd3cd63d12
2 changed files with 2 additions and 1 deletions
|
|
@ -5,6 +5,7 @@
|
||||||
- fix: bug in poll where you can't edit it to have less answers
|
- fix: bug in poll where you can't edit it to have less answers
|
||||||
- fix: CS post title form field sized too large
|
- fix: CS post title form field sized too large
|
||||||
- fix: asset manager doesn't obey ui levels
|
- fix: asset manager doesn't obey ui levels
|
||||||
|
- fix: pagination broken on SQL Reports
|
||||||
|
|
||||||
7.4.3
|
7.4.3
|
||||||
- Data Forms set reply to to the same as the from field
|
- Data Forms set reply to to the same as the from field
|
||||||
|
|
|
||||||
|
|
@ -693,7 +693,7 @@ sub setDataByQuery {
|
||||||
#Set the query limits
|
#Set the query limits
|
||||||
$sql =~ s/;\s+$//;
|
$sql =~ s/;\s+$//;
|
||||||
$sql .= " limit $start,$rowsPerPage";
|
$sql .= " limit $start,$rowsPerPage";
|
||||||
$sql =~ s/select/select SQL_CALC_FOUND_ROWS /;
|
$sql =~ s/\bSELECT\s/SELECT SQL_CALC_FOUND_ROWS /i;
|
||||||
|
|
||||||
#$self->session->errorHandler->warn($sql);
|
#$self->session->errorHandler->warn($sql);
|
||||||
#Get only the data necessary from the database
|
#Get only the data necessary from the database
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue