yousty-activeadmin 1.0.11.pre → 1.0.12.pre
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1b497063b50e326b529415a5e1d17a29ae61e1ea
|
4
|
+
data.tar.gz: 21c1845824f471e2c91fc72e67c15aed8c5cf840
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b82c6d65d02a4ef3c29a32e3f78419f7a5b389449e6d34e7449eb450a76c43a9ef828b08821c1942c558fb46c89297b2a8e9be392544f2d9d78b8857601da789
|
7
|
+
data.tar.gz: dc1e5ad2f129be003f111c80ff8e61723a4da74a5529c0809f03010b6055264c9bf05a9373af55ca7dda59afb52514e69690156d5ba656c300b08510886363af
|
@@ -225,7 +225,7 @@ module ActiveAdmin
|
|
225
225
|
# Applies any Ransack search methods to the currently scoped collection.
|
226
226
|
# Both `search` and `ransack` are provided, but we use `ransack` to prevent conflicts.
|
227
227
|
def apply_filtering(chain)
|
228
|
-
@search = chain.ransack clean_search_params
|
228
|
+
@search = chain.ransack clean_search_params(params[:q])
|
229
229
|
@search.result
|
230
230
|
end
|
231
231
|
|
@@ -233,7 +233,7 @@ module ActiveAdmin
|
|
233
233
|
#if params.is_a? Hash
|
234
234
|
params.to_h.dup.delete_if{ |key, value| value.blank? }
|
235
235
|
#else
|
236
|
-
|
236
|
+
# {}
|
237
237
|
#end
|
238
238
|
end
|
239
239
|
|
data/lib/active_admin/version.rb
CHANGED