diff options
author | Madhura Jayaratne <madhura.cj@gmail.com> | 2012-03-26 20:31:11 +0400 |
---|---|---|
committer | Madhura Jayaratne <madhura.cj@gmail.com> | 2012-03-26 20:31:11 +0400 |
commit | 54084929a50a8be2a797972b65d637102b33d47b (patch) | |
tree | 8666a67072bbd56a44161863c44a13ea525dbbc4 /sql.php | |
parent | bd8a923e14747b9cf06d88d6373fa41584218de1 (diff) |
bug #3510784 [edit] Limit clause ignored when sort order is remembered
Diffstat (limited to 'sql.php')
-rw-r--r-- | sql.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -435,7 +435,7 @@ if ($GLOBALS['cfg']['RememberSorting'] // retrieve the remembered sorting order for current table $sql_order_to_append = ' ORDER BY ' . $sorted_col . ' '; $full_sql_query = $analyzed_sql[0]['section_before_limit'] . $sql_order_to_append - . $analyzed_sql[0]['section_after_limit']; + . $analyzed_sql[0]['limit_clause'] . ' ' . $analyzed_sql[0]['section_after_limit']; // update the $analyzed_sql $analyzed_sql[0]['section_before_limit'] .= $sql_order_to_append; |