Aniket Patidar

Results 4 comments of Aniket Patidar

To sort the "Recent entries" by the lowest amount on the left and the highest on the right, you can modify the query like this: scope :recent, -> { distinct(:amount).order(amount:...

The error indicates that the "amount" column is not recognized in the query, and this might be due to the use of `distinct(:amount)` causing a conflict with the subsequent ordering....

It seems the current approach doesn't alter the SQL as expected. I'll take your feedback to heart and work on a pull request to address this directly. Thanks for your...