azahara_schema 0.3.11 → 0.3.12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/azahara_schema/schema.rb +1 -1
- data/lib/azahara_schema/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cb01b490fce9f6c956db607a7275b255ec580b05f0de6028aadbf519d04ebe25
|
4
|
+
data.tar.gz: 4787db231d16f7e4ce662713ca1dab910ffcffd0eae2500960788a2e502acd75
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6c0a37bfd79aed3792ee43517b67682e86bb839ce9021fe2a1ff4320769dedb4085a71063fac3323c6d02801dce842155865d35354fc8cb9ad8269f7f29f4e57
|
7
|
+
data.tar.gz: 7f9387582fd88ec16806db90dc2991eef9900c420087ad0d1b140fc002bd78a7c2b81cc549e2ef98adf3a45bf702d12370e6aa5524785f5f4452e776572ef803
|
@@ -338,7 +338,7 @@ module AzaharaSchema
|
|
338
338
|
end
|
339
339
|
end
|
340
340
|
self.default_scope = params[:default_scope] if params[:default_scope]
|
341
|
-
self.search_query = params[:q]
|
341
|
+
self.search_query = params[:q] unless params[:q].blank?
|
342
342
|
self.offset = params[:offset] if params[:offset]
|
343
343
|
self.limit = params[:limit] if params[:limit]
|
344
344
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: azahara_schema
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.12
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ondřej Ezr
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-07-
|
11
|
+
date: 2018-07-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|