JSONAPI::Resources v0.10.1 Release Notes
Release Date: 2019-10-30 // over 4 years ago-
This is a bug fix for this error in PostgreSQL:
ERROR: for SELECT DISTINCT, ORDER BY expressions must appear in select list
This is accomplished by ensuring fields used in sorting are also selected. This should be a transparent change.