Bugzilla – Attachment 170434 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.95 KB, created by
Marcel de Rooy
on 2024-08-16 07:36:06 UTC
(
hide
)
Description:
Bug 37484: Add data-order attribute to housebound delivery table
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2024-08-16 07:36:06 UTC
Size:
1.95 KB
patch
obsolete
>From 141dc244983a6a9e9eaa0ebc264a862280086306 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 >Content-Type: text/plain; charset=utf-8 > >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> > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >--- > 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.30.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