-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: make pages consistent when using sort on non-unique attributes (#…
…633) * Fix sort order consistency by always adding the primaryKey as the last sort option * Make sure to only include the PK once in the query in case the user explicitly sorts on the PK * Fix import * remove quote * update tests * Make sure first and last search for orderByRaw instead of orderBy * Fix formatting * Fix formatting * Ignore prefer-template for uniq line * Change two more instances of orderBy to orderByRaw
- Loading branch information
1 parent
d1589ab
commit 93aa5c4
Showing
2 changed files
with
20 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters