kadmin 0.6.17 → 0.6.18
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: 2237f5504554a5bf69b8f2a2eab80c7db7c3c317
|
4
|
+
data.tar.gz: 74fc2e9b9643be406d7678763985a77f29732ab8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ff6ff3a5628fe00994b35c2fdf0c075518bbb0a97a25fadb9109a3ed7db3bfa2488683c519b8d42a54e2f79529cbcf1ed357742c3ed603df59d46edc705524f8
|
7
|
+
data.tar.gz: eda9e006f70fe5d8cd0a35cd3ac41727ae299b78e05e1e83165cc1fbc1ce9373d040d536f43001612a135430ee44967c9b08d93c6235919cc7e704bc288a07a2
|
@@ -31,7 +31,7 @@ module Kadmin
|
|
31
31
|
if column.present?
|
32
32
|
@filters[name] = Kadmin::Finder::Filter.new(column, value)
|
33
33
|
if value.present?
|
34
|
-
search_value = ActiveRecord::Base.
|
34
|
+
search_value = ActiveRecord::Base.connection.quote("%#{value}%".squeeze('%'))
|
35
35
|
filters = Array.wrap(column).map do |column_name|
|
36
36
|
%(`#{@scope.table_name}`.`#{column_name}` LIKE #{search_value})
|
37
37
|
end
|
@@ -1,5 +1,5 @@
|
|
1
1
|
<% hide_create_button = false if local_assigns[:hide_create_button].nil? %>
|
2
|
-
<div class='card'>
|
2
|
+
<div class='card finder'>
|
3
3
|
<div class='card-block'>
|
4
4
|
<%= render partial: 'kadmin/components/finder/header', locals: { finder: finder, hide_create_button: hide_create_button } %>
|
5
5
|
<div class='container-fluid'>
|
data/lib/kadmin/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: kadmin
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.18
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nicolas Pepin-Perreault
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2017-
|
13
|
+
date: 2017-06-15 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: rails
|