simple_search_filter 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ee2a07743155b607953d5b08f3149f00a9dedd44
|
4
|
+
data.tar.gz: 61d60664e3fa71a644139924f9b7b3d36e21c909
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a0172d9887829efcf4d297604aaaebd7c115bb8b0ef1baac30248dc91f704053a06d004acc2e23e04c892134f7cf2713250394b656f790352d0cacf9fddb1817
|
7
|
+
data.tar.gz: 80c8d028c60b329e269d75b6d5d173fcac4a39930f92cc0e9d02b0afa14986abdcc408b60988405713366515194bb0ee1933701328ef722181b7ece1895adb8b
|
@@ -16,7 +16,7 @@ module SimpleSearchFilter
|
|
16
16
|
# apply fields with custom scopes first
|
17
17
|
wscope = f.condition_scope
|
18
18
|
if f.condition==FilterField::QUERY_CONDITION_CUSTOM && wscope.present?
|
19
|
-
q = q.send(wscope,
|
19
|
+
q = q.send(wscope, val)
|
20
20
|
else
|
21
21
|
# where
|
22
22
|
w_field = f.make_where(val)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: simple_search_filter
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Max Ivak
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-05-
|
11
|
+
date: 2015-05-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -471,7 +471,6 @@ files:
|
|
471
471
|
- test/dummy/tmp/cache/assets/development/sprockets/v3.0/znLi_g--cOzgCoKAqtlFPUgWJ9unCsXnEvjrFOVsgt8.cache
|
472
472
|
- test/dummy/tmp/cache/assets/development/sprockets/v3.0/zvGwr55LmRTcpn_qmLf9EFICIXWA4cfH_4nBFi_cfj0.cache
|
473
473
|
- test/dummy/tmp/cache/assets/development/sprockets/v3.0/zxS8Tu3AwLjiFU0cs3pGX-IWrHVCoQBBBbliUPrWe3E.cache
|
474
|
-
- test/dummy/tmp/pids/server.pid
|
475
474
|
- test/fixtures/products.yml
|
476
475
|
- test/integration/navigation_test.rb
|
477
476
|
- test/models/product_test.rb
|
@@ -904,7 +903,6 @@ test_files:
|
|
904
903
|
- test/dummy/tmp/cache/assets/development/sprockets/v3.0/_GeQnMxP6dH2IxqpJv9yxUgXJCiW_Eye5Q5yZq5KI_A.cache
|
905
904
|
- test/dummy/tmp/cache/assets/development/sprockets/v3.0/_HqBvRhZwKsB7cuKZoO5r5Ut4SP3y_90m8vbU9guYps.cache
|
906
905
|
- test/dummy/tmp/cache/assets/development/sprockets/v3.0/_uTxqC5iwzUGjNZWJUFnxL8-jngVDQtxfl76-1rSO-E.cache
|
907
|
-
- test/dummy/tmp/pids/server.pid
|
908
906
|
- test/fixtures/products.yml
|
909
907
|
- test/integration/navigation_test.rb
|
910
908
|
- test/models/product_test.rb
|
@@ -1 +0,0 @@
|
|
1
|
-
8628
|