fix: New pagination breaks SQL Reports with semicolons
This commit is contained in:
parent
18b5da96d3
commit
aaf7d9cf44
2 changed files with 3 additions and 0 deletions
|
|
@ -2,6 +2,8 @@
|
|||
- Fixed a bug where crons wouldn't load into spectre's queue at startup.
|
||||
- Fixed a bug in the Collaboration System where posts from the Safari browser
|
||||
would be submitted without changes.
|
||||
- fix: New pagination breaks SQL Reports with semicolons
|
||||
|
||||
|
||||
7.4.0
|
||||
- api: Form Controls and Workflow Activities may now include web based helper
|
||||
|
|
|
|||
|
|
@ -691,6 +691,7 @@ sub setDataByQuery {
|
|||
my $start = ( ($pageNumber - 1) * $rowsPerPage );
|
||||
|
||||
#Set the query limits
|
||||
$sql =~ s/;\s+$//;
|
||||
$sql .= " limit $start,$rowsPerPage";
|
||||
$sql =~ s/select/select SQL_CALC_FOUND_ROWS /;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue