forked from mojotech/scrivener_ecto
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Exclude order_by when counting entries
Previously when attempting to use a fragment in an order_by query, the following error would be raised: > ** (Postgrex.Error) ERROR 42703 (undefined_column): column > "aliased_title" does not exist The order of the results is not relevant when simply counting the totals and has been excluded from the query.
- Loading branch information
Showing
2 changed files
with
13 additions
and
0 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