ucb_rails_user 4.0.5 → 4.0.6
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
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7279a30a91284da4c8a0ab5af25cd83faf75db9a8244775e03c80bdb847c9d6f
|
|
4
|
+
data.tar.gz: 4ac6746159b76a4b55b215ea68440880a007ae7dd954443e27556ee37cf822ce
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b601ecbbd37380aa231d1e82aabdbe39cff34e3e6e1137bf6491f3dea834f9f8179d2488054f6681d12c9eef9b826681b15ff70b2ddbf987e994ed3cd6b556af
|
|
7
|
+
data.tar.gz: f6169dd04c1e73d4f78a0397f4e02ef6345ee9c8ca39ee70ebbcb74dbcced20693b1671926cb35a32428da8bc0414b5d26c8e4abb2f2005f69b83477e5bd7969
|
|
@@ -18,11 +18,16 @@ var addDatatablesToSearchResults = function () {
|
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
var addDatatablesToUsersTable = function () {
|
|
21
|
+
var unsorted_columns = $('.ucb-rails-users-table th.unsorted').map((i, e) => $(e).index()).toArray()
|
|
22
|
+
if (unsorted_columns === []) {
|
|
23
|
+
var unsorted_columns = $(".ucb-rails-users-table th:contains('Edit'),.ucb-rails-users-table th:contains('Delete')").map((i, e) => $(e).index()).toArray()
|
|
24
|
+
}
|
|
25
|
+
|
|
21
26
|
$('.ucb-rails-users-table').dataTable({
|
|
22
27
|
searching: true,
|
|
23
28
|
order: [[ 3, "asc" ]],
|
|
24
29
|
columnDefs: [ {
|
|
25
|
-
targets:
|
|
30
|
+
targets: unsorted_columns,
|
|
26
31
|
orderable: false
|
|
27
32
|
}],
|
|
28
33
|
})
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: ucb_rails_user
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 4.0.
|
|
4
|
+
version: 4.0.6
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Steve Downey
|
|
@@ -11,7 +11,7 @@ authors:
|
|
|
11
11
|
autorequire:
|
|
12
12
|
bindir: bin
|
|
13
13
|
cert_chain: []
|
|
14
|
-
date: 2021-
|
|
14
|
+
date: 2021-06-23 00:00:00.000000000 Z
|
|
15
15
|
dependencies:
|
|
16
16
|
- !ruby/object:Gem::Dependency
|
|
17
17
|
name: rails
|