forest_liana 2.11.2 → 2.11.3

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: 55492e66903c5ce1fb0cf11e861ab3a6a6d4ef7d
4
- data.tar.gz: 1b07c8637cd3671a13383ee7acf0b60c561a98b3
3
+ metadata.gz: 8ab93da0f6928c1e4a13117fec220d839c4d3c4e
4
+ data.tar.gz: 3b494938d856e3019a3279b60008e21b786fe751
5
5
  SHA512:
6
- metadata.gz: e438a450e747a983577a645c75647cc9be9ae67fcf1d35ebbffb229bb204f60eb1707e75525ffac624d931b58205fcedcf91a21d67395b561f0e9999c5abfb68
7
- data.tar.gz: 866716b733eccf48cc30b75df2e1fa51c3ae6444be7c98dc222c6b06675500efd21375c717b10f9c3e11fca0652dabedec6ed7ced5efa4bc268747c84d8373a2
6
+ metadata.gz: 7e1e6f41a6e0916e8e128b39e11151745cd2625d8c1323d281528916625449244f60ef6102aebfbd782fe1c18483141e540128504e4895a5c880744e594b1513
7
+ data.tar.gz: 6b3bec0413713d773e3330d68f3042b00c019355cfa327ddce738c420ed90537e1e0d188605b37202f4ebe15055ea00f24d9d276e17756f9432b4e5e5059c946
@@ -44,7 +44,7 @@ module ForestLiana
44
44
  options[:is_collection] = true
45
45
  json = JSONAPI::Serializer.serialize(records, options)
46
46
 
47
- if options.dig :params, :search
47
+ if options[:params] && options[:params][:search]
48
48
  # NOTICE: Add the Smart Fields with a 'String' type.
49
49
  fields_searched.concat(get_collection.string_smart_fields_names).uniq!
50
50
  json['meta'] = {
@@ -1,3 +1,3 @@
1
1
  module ForestLiana
2
- VERSION = "2.11.2"
2
+ VERSION = "2.11.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: forest_liana
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.11.2
4
+ version: 2.11.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sandro Munda