Bugzilla – Attachment 108522 Details for
Bug 26233
Edit item date sort still does not sort correctly
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Add data-order attr to <td> that include dates
Add-data-order-attr-to-td-that-include-dates.patch (text/plain), 1.41 KB, created by
Lucas Gass (lukeg)
on 2020-08-18 14:51:55 UTC
(
hide
)
Description:
Add data-order attr to <td> that include dates
Filename:
MIME Type:
Creator:
Lucas Gass (lukeg)
Created:
2020-08-18 14:51:55 UTC
Size:
1.41 KB
patch
obsolete
>From a0a984dc6fc4e30d033ebfbef09dd72f7e1cbec9 Mon Sep 17 00:00:00 2001 >From: Lucas Gass <lucas@bywatersolutions.com> >Date: Tue, 18 Aug 2020 14:47:17 +0000 >Subject: [PATCH] Add data-order attr to <td> that include dates > >This patch adds the special dataTable attr 'data-order' in order to correctly sort the dates >To test: >Retest Bug 23233, with appropriate dates > >https://bugs.koha-community.org/show_bug.cgi?id=26233 >--- > koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/additem.tt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/additem.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/additem.tt >index 051695788c..1157cdf9e6 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/additem.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/additem.tt >@@ -113,7 +113,7 @@ > [% END %] > [% FOREACH item_valu IN item_loo.item_value %] > [% IF item_valu.datatype == 'date' %] >- <td><span title="[% item_valu.field | html %]">[% item_valu.field | $KohaDates %]</span></td> >+ <td data-order="[% item_valu.field | html %]"><span title="[% item_valu.field | html %]">[% item_valu.field | $KohaDates %]</span></td> > [% ELSE %] > <td>[% item_valu.field | html %]</td> > [% END %] >-- >2.11.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 26233
:
108437
|
108522
|
109224
|
109278