mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-03-26 18:22:50 -04:00
Fix keyset pagination when sorting by category name (#8597)
There was a typo with a `=` too much
This commit is contained in:
committed by
GitHub
parent
858bc0eace
commit
69c48df049
@@ -1421,7 +1421,7 @@ SQL;
|
||||
// Keyset pagination (Compatibility syntax due to poor performance of tuple syntax in MySQL https://bugs.mysql.com/bug.php?id=104128)
|
||||
if ($sort === 'c.name') {
|
||||
// Includes the feed-name sort and a user secondary sort
|
||||
$search .= "AND ((c.name {$sign} ?) OR (c.name = ? AND f.name {$sign} ?) OR (c.name = ? AND f.name = ? AND {$orderBy2} {$sign2}= ?) " .
|
||||
$search .= "AND ((c.name {$sign} ?) OR (c.name = ? AND f.name {$sign} ?) OR (c.name = ? AND f.name = ? AND {$orderBy2} {$sign2} ?) " .
|
||||
"OR (c.name = ? AND f.name = ? AND {$orderBy2} = ? AND {$alias}id {$sign}= ?)) ";
|
||||
$values[] = $continuation_values[0]; // c.name (primary sort)
|
||||
$values[] = $continuation_values[0]; // c.name (primary sort)
|
||||
|
||||
Reference in New Issue
Block a user