effective_datatables 4.16.2 → 4.17.0
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
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5fa644f48b7deb7204d3d7c6486dcdc90801075f580b721a9ae14ada37b38fae
|
4
|
+
data.tar.gz: 93915b2419ba86c9783e6e7dc227a7fdd131eafe43e7534c7dd862df66fd6977
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b92b2429d730b12d36d47c0ad01f0ee347d2e985a14c99d8d15c7d524ff80660762b50b84455ba4cf35e80e3ac36425d37311021227995ceec95f26310829e21
|
7
|
+
data.tar.gz: 6362c1329baebcedccb025f3e1ad7eae2fb1f30475f9013cd5840e515e26bcca16fedf9df6a5f212e11528e83bb2a15a3a8834f53c180e5ca5081e94e4e0af95
|
@@ -62,9 +62,15 @@ $.extend( DataTable.ext.buttons, {
|
|
62
62
|
columns: idx,
|
63
63
|
columnText: conf.columnText
|
64
64
|
};
|
65
|
-
}
|
65
|
+
})
|
66
66
|
|
67
|
-
|
67
|
+
var sorted = columns.sort(function (a, b) {
|
68
|
+
var a = dt.settings()[0].aoColumns[a.columns].sTitle;
|
69
|
+
var b = dt.settings()[0].aoColumns[b.columns].sTitle;
|
70
|
+
return a.localeCompare(b)
|
71
|
+
}).toArray();
|
72
|
+
|
73
|
+
return sorted;
|
68
74
|
},
|
69
75
|
|
70
76
|
// Single button to toggle column visibility
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: effective_datatables
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.
|
4
|
+
version: 4.17.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Code and Effect
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-03-
|
11
|
+
date: 2023-03-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|