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:
Paul Derscheid 2024-08-08 07:38:05 +00:00 committed by Katrin Fischer
parent 25210805e0
commit 6c3555bd61
Signed by: kfischer
GPG key ID: 0EF6E2C03357A834
2 changed files with 4 additions and 4 deletions

View file

@ -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());

View file

@ -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()