From 60fa581e5e13e8b6d1f7f7ba901c7720743c9597 Mon Sep 17 00:00:00 2001 From: Paul Bob Date: Fri, 13 Oct 2023 11:29:25 +0300 Subject: [PATCH 1/2] feature: array dynamic filter --- docs/3.0/dynamic-filters.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/docs/3.0/dynamic-filters.md b/docs/3.0/dynamic-filters.md index 7b024f64..61c8a6d9 100644 --- a/docs/3.0/dynamic-filters.md +++ b/docs/3.0/dynamic-filters.md @@ -121,6 +121,18 @@ This filter will give you options from the database. - Is blank ::: +:::option Array + +Used on `tags` fields. + +### Conditions + + - Are + - Contains + - Overlap + - Contained in +::: + ## Options You can have a few customization options available that you can add in your `avo.rb` initializer file. From 53a851c0b9907943fd60c5fadc1b87d9b8cd6b5e Mon Sep 17 00:00:00 2001 From: Adrian Marin Date: Tue, 31 Oct 2023 15:53:21 +0200 Subject: [PATCH 2/2] Add acts-as-taggable-on mention --- docs/3.0/dynamic-filters.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/docs/3.0/dynamic-filters.md b/docs/3.0/dynamic-filters.md index 61c8a6d9..eecd3aaa 100644 --- a/docs/3.0/dynamic-filters.md +++ b/docs/3.0/dynamic-filters.md @@ -121,7 +121,7 @@ This filter will give you options from the database. - Is blank ::: -:::option Array +::::option Array Used on `tags` fields. @@ -131,8 +131,13 @@ Used on `tags` fields. - Contains - Overlap - Contained in + +:::warning +This will only work with database array columns, not when using the `acts-as-taggable-on` gem. ::: +:::: + ## Options You can have a few customization options available that you can add in your `avo.rb` initializer file.