effective_datatables 1.1.1 → 1.1.2
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 +4 -4
- data/app/models/effective/datatable.rb +1 -2
- data/lib/effective_datatables/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dd74e5532e3e65477550ab472b542c2ab72dc921
|
4
|
+
data.tar.gz: 4524560b55609865828456c2de63b64dae6881dd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e7633e69735ba90511dc4a259a3614b0b0ea7b39d496c8bb403efa94d8d9887ce3e72ef5778b816c659b65be1d51f2518ea5d8318144b7bc8a8966c959d663ab
|
7
|
+
data.tar.gz: ab0c650840ad6c18722bfcf5085977262441ecd0246315a8b620c5fd2776a8d15b03419a587b27185d60c340cf5100c1995e4a0f8823ca9625f094dccd44125d
|
@@ -315,8 +315,7 @@ module Effective
|
|
315
315
|
cols[name][:width] ||= nil
|
316
316
|
cols[name][:sortable] = true if cols[name][:sortable] == nil
|
317
317
|
cols[name][:type] ||= (belong_tos.key?(name) ? :belongs_to : (sql_column.try(:type).presence || :string))
|
318
|
-
cols[name][:class] = "col-#{cols[name][:type]} #{cols[name][:class]}".strip
|
319
|
-
cols[name][:class] << ' col-actions' if name == 'actions'
|
318
|
+
cols[name][:class] = "col-#{cols[name][:type]} col-#{name} #{cols[name][:class]}".strip
|
320
319
|
|
321
320
|
if name == 'id' && collection.respond_to?(:deobfuscate)
|
322
321
|
cols[name][:sortable] = false
|