-
Notifications
You must be signed in to change notification settings - Fork 130
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(galleries): implement eager loading, refactor queries (#1175)
- refactor gallery index queries to take better advantage of eager loading - add "with", "withCount" properties to relevant models - add comment relation to gallery submissions - only get site currency name for currency comms - rename gallery submission collaboratorApproved attribute to not conflict with scope - refactor gallery submission scopes -move gallery submission vote data preprocessing to model function
- Loading branch information
Showing
13 changed files
with
170 additions
and
112 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
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
Oops, something went wrong.