backframe 0.0.35 → 0.0.36

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: 76ad813263368a934f83c57b2148506385542150
4
- data.tar.gz: 036b8c08c5fe57f6cdd426c4de2c08b13e076d4b
3
+ metadata.gz: 7c08222333120f8ddb4658a7a589992273f5478f
4
+ data.tar.gz: 6c0f8a8233ad2722f4c5dd46087598c638cf2031
5
5
  SHA512:
6
- metadata.gz: 1531c98115b1fd7ffcc32f04bfb4803fdad9f577a7bd239165039cf9dcde9cc8a77a88faec9ede2b4db43b9ab4f0abdd64c781fc824617c30f939ed75b39eaf7
7
- data.tar.gz: cebf6520d46729d06d95739532df70585bc5bdbc05510686e2a1b20d7c576394f979cc797ac4f0a32b57ed12541aef41418aa6bb76eed83f41f37aadce152ae6
6
+ metadata.gz: 919db8249dd9811691aad06a271f3dbce8e264950645d555f63ab75503cc9b4dc47aac1e9c606a4c0cbb5d0fab466bb175b1e1ace0f792e7b7b7ac67aee16058
7
+ data.tar.gz: 2fb9992bfdba1cabd6f4ceb34be8e6843684ccafc44c0a3cf1892fb94df88a979d751467808b1c1ceab5f9c3dfb975bc69cabfd437cc7e174cc86190bbbc1378
@@ -11,7 +11,7 @@ module Backframe
11
11
  params = []
12
12
  fields.each do |field|
13
13
  column = (field.match(/.*\..*/)) ? field : "LOWER(\"#{self.table_name}\".\"#{field}\""
14
- conditions << "#{column}::VARCHAR) LIKE ?"
14
+ conditions << "LOWER(#{column}::VARCHAR) LIKE ?"
15
15
  params << '%'+filters[:q].downcase+'%'
16
16
  end
17
17
  args = params.unshift(conditions.join(' OR '))
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
2
 
3
3
  module Backframe
4
- VERSION = '0.0.35'
4
+ VERSION = '0.0.36'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: backframe
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.35
4
+ version: 0.0.36
5
5
  platform: ruby
6
6
  authors:
7
7
  - Greg Kops