Skip to content

Releases: malomalo/activerecord-filter

v6.1.0

14 Jan 21:02
Compare
Choose a tag to compare
  • Compatibility for Rails 6.1
  • Fix issues / test when filter across a polymorphic relationship
  • Fix bug when querying with an OR array (#8)

v6.1.0.rc1

29 Dec 18:37
Compare
Choose a tag to compare
v6.1.0.rc1 Pre-release
Pre-release
  • Compatibility for Rails 6.1
  • Fix issues / test when filter across a polymorphic relationship
  • Fix bug when querying with an OR array (#8)

v6.0.0.7

29 Dec 18:33
Compare
Choose a tag to compare
Fix failing test and bump version

v6.0.0.6

29 Dec 18:29
Compare
Choose a tag to compare
  • Filter are now uses LEFT JOIN instead of INNER JOIN
  • Allow arrays in filters, for example: Account.filter(photos: [ { property: { name: 'Name' } } ])
  • Support belongs_to polymorphic: true relationships

Support more arrays in the query

12 Dec 22:43
d00d744
Compare
Choose a tag to compare

Account.filter(photos: [ { property: { name: 'Name' } } ]) is now supported, and filters in the array will be ANDed together

Alias support

12 Dec 22:40
Compare
Choose a tag to compare

When querying on relations use the alias tracker to get the correct table name