Bugzilla – Attachment 170151 Details for
Bug 37574
Add visual indicator that bookings are expired
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 37574: (follow-up) disable ordering and searching on status column
Bug-37574-follow-up-disable-ordering-and-searching.patch (text/plain), 1.96 KB, created by
Paul Derscheid
on 2024-08-08 07:43:28 UTC
(
hide
)
Description:
Bug 37574: (follow-up) disable ordering and searching on status column
Filename:
MIME Type:
Creator:
Paul Derscheid
Created:
2024-08-08 07:43:28 UTC
Size:
1.96 KB
patch
obsolete
>From d934a738b2baf8fdc0a2e63d283f7bf777585e36 Mon Sep 17 00:00:00 2001 >From: Paul Derscheid <paul.derscheid@lmscloud.de> >Date: Thu, 8 Aug 2024 07:38:05 +0000 >Subject: [PATCH] Bug 37574: (follow-up) disable ordering and searching on > status column > >--- > koha-tmpl/intranet-tmpl/prog/en/modules/bookings/list.tt | 4 ++-- > koha-tmpl/intranet-tmpl/prog/js/tables/bookings.js | 4 ++-- > 2 files changed, 4 insertions(+), 4 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/bookings/list.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/bookings/list.tt >index 120fe0b320..6d2c70d3c8 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/bookings/list.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/bookings/list.tt >@@ -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()); >diff --git a/koha-tmpl/intranet-tmpl/prog/js/tables/bookings.js b/koha-tmpl/intranet-tmpl/prog/js/tables/bookings.js >index 089c723113..8dc2e52ccf 100644 >--- a/koha-tmpl/intranet-tmpl/prog/js/tables/bookings.js >+++ b/koha-tmpl/intranet-tmpl/prog/js/tables/bookings.js >@@ -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() >-- >2.46.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 37574
:
170132
|
170151
|
170159
|
170160
|
170382
|
170383