Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix order conflict in postgres specs for default scoped models
Resolved a `PG::InvalidColumnReference` error in postgres for controllers interfacing with models including the `Spree::NamedType` concern. This concern's default scope, which orders records by the lowercased `name`, conflicted with `SELECT DISTINCT` queries. Controllers now adhere to this default ordering, avoiding explicit reordering and the associated errors.
- Loading branch information