Bugzilla – Attachment 169753 Details for
Bug 37484
Sorting dates in the housebound deliveries table should work for different date formats
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 37484: Add data-order attribute to housebound delivery table
Bug-37484-Add-data-order-attribute-to-housebound-d.patch (text/plain), 1.85 KB, created by
Owen Leonard
on 2024-07-26 16:18:42 UTC
(
hide
)
Description:
Bug 37484: Add data-order attribute to housebound delivery table
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2024-07-26 16:18:42 UTC
Size:
1.85 KB
patch
obsolete
>From 5eacfd409d8183fa9a34ea8ea47dffae0b041dd9 Mon Sep 17 00:00:00 2001 >From: Lucas Gass <lucas@bywatersolutions.com> >Date: Thu, 25 Jul 2024 21:09:42 +0000 >Subject: [PATCH] Bug 37484: Add data-order attribute to housebound delivery > table > >To test: >0. APPLY PATCH >1. Enable the HouseboundModule and set at least one staff person a > Chooser and and Deliverer. >2. From a patron account go to the "Housebound" tab and schedule some > deliveries. >3. See that each <td> in the Date column now includes a 'data-order' > attribute in an ISO date format ( 2024-07-01 ) for better sorting. > >Signed-off-by: Owen Leonard <oleonard@myacpl.org> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/members/housebound.tt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/housebound.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/housebound.tt >index b304ea4d4d..ab85fd8e6e 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/housebound.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/housebound.tt >@@ -402,7 +402,7 @@ > [% FOREACH entry IN housebound_visits %] > <tr> > <td>[% entry.id | html %]</td> >- <td>[% entry.appointment_date | $KohaDates %] ([% entry.day_segment | html %])</td> >+ <td data-order="[% entry.appointment_date | html %]">[% entry.appointment_date | $KohaDates %] ([% entry.day_segment | html %])</td> > <td> > <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% entry.chooser.borrowernumber | uri %]"> > [% INCLUDE 'patron-title.inc' patron = entry.chooser invert_name = 0 %] >-- >2.39.2
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 37484
:
169615
|
169753
|
170434