Bug 37574: (follow-up) disable ordering and searching on status column
Signed-off-by: Owen Leonard <oleonard@myacpl.org> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
parent
25210805e0
commit
6c3555bd61
2 changed files with 4 additions and 4 deletions
|
@ -233,8 +233,8 @@
|
|||
data: "",
|
||||
title: __("Status"),
|
||||
name: "status",
|
||||
searchable: true,
|
||||
orderable: true,
|
||||
searchable: false,
|
||||
orderable: false,
|
||||
visible: false,
|
||||
render: function (data, type, row, meta) {
|
||||
let is_expired = dayjs(row.end_date).isBefore(new Date());
|
||||
|
|
|
@ -36,8 +36,8 @@ $(document).ready(function () {
|
|||
data: "",
|
||||
title: __("Status"),
|
||||
name: "status",
|
||||
searchable: true,
|
||||
orderable: true,
|
||||
searchable: false,
|
||||
orderable: false,
|
||||
render: function (data, type, row, meta) {
|
||||
let is_expired = dayjs(row.end_date).isBefore(
|
||||
new Date()
|
||||
|
|
Loading…
Reference in a new issue