3001 - Consistent result ordering when paginating products (#130)
This commit is contained in:
@@ -90,7 +90,7 @@ export function products(input: ProductsFilterInput) {
|
|||||||
AND products.browsable = ${filter?.browsable ? '1' : '0'}`
|
AND products.browsable = ${filter?.browsable ? '1' : '0'}`
|
||||||
: ``
|
: ``
|
||||||
}
|
}
|
||||||
ORDER BY products.publishing_date DESC
|
ORDER BY products.publishing_date DESC, products.productid DESC
|
||||||
LIMIT ${limit} OFFSET ${offset}
|
LIMIT ${limit} OFFSET ${offset}
|
||||||
`
|
`
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user