avo 3.1.5 → 3.1.7
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of avo might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/app/controllers/avo/base_controller.rb +2 -1
- data/app/controllers/avo/search_controller.rb +1 -1
- data/lib/avo/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5e7897ff0048495cd2f6a1835226eb23f493c17bc867c873ea1862b204525ec1
|
4
|
+
data.tar.gz: 700e62f5c52c40071c7fe424794b998698195ed488f17025d16b8fcbee4c6ec7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cbad7fafbf3eefb977bc4e92459f4c53dbff0148fcd2eedcb1c52b347c7a1fda6bef5cbb6da9b6d14e28adf520f093b65e5b54a1a8a5adca0733d446d44c03da
|
7
|
+
data.tar.gz: 10770171e285976021278a67aefbb8fbb281489c0d4a7d654282b01e5b59493657b55af7009fe7770e0f59e25d30a5879ee32e2878268140eaeb2b6e39dd9a55
|
data/Gemfile.lock
CHANGED
@@ -357,7 +357,8 @@ module Avo
|
|
357
357
|
def set_applied_filters
|
358
358
|
reset_filters if params[:reset_filter]
|
359
359
|
|
360
|
-
|
360
|
+
# Return if there are no filters or if the filters are actualy ActionController::Parameters (used by dynamic filters)
|
361
|
+
return @applied_filters = {} if (fetched_filters = fetch_filters).blank? || fetched_filters.is_a?(ActionController::Parameters)
|
361
362
|
|
362
363
|
@applied_filters = Avo::Filters::BaseFilter.decode_filters(fetched_filters)
|
363
364
|
|
data/lib/avo/version.rb
CHANGED