effective_reports 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/datatables/effective_report_datatable.rb +4 -0
- data/lib/effective_reports/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5c1c05c8943d42999d6cb9bc8f788af7b1efd9490108fc32a31a06d4429d9455
|
4
|
+
data.tar.gz: 7ad823fb06f1837bbe2d450f10d7d4e4c07064675fa7009847235c2f49b9cdaa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 72df2d6b3d8f52aa3c348707b706f22204b22b3c1e1faa766f4fcdd069122fcfd41b0253f3e5d5c275ef2cd9fcced88cb182f1a34ff569b61ea48106ffbdab68
|
7
|
+
data.tar.gz: 263b2b601838d2eaa0823093264dbd6ce0f16c82572a0dc05e0a63b78edc8b5a0a75dad25ca2ad03924f6ae466387f0efe407f0f14cd0e99e4377bc56d8d0931
|
@@ -4,6 +4,10 @@ class EffectiveReportDatatable < Effective::Datatable
|
|
4
4
|
datatable do
|
5
5
|
skip_save_state! # Forgets the previous show/hide columns settings
|
6
6
|
|
7
|
+
order :id, :desc
|
8
|
+
|
9
|
+
col :id, visible: false
|
10
|
+
|
7
11
|
report.report_columns.each do |column|
|
8
12
|
col(column.name, as: column.as.to_sym)
|
9
13
|
end
|