Bugzilla – Attachment 119160 Details for
Bug 27926
Date of birth sorting with British English format is broken
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 27926: (QA follow-up) Switch to using data-order
Bug-27926-QA-follow-up-Switch-to-using-data-order.patch (text/plain), 2.13 KB, created by
Katrin Fischer
on 2021-04-03 14:57:31 UTC
(
hide
)
Description:
Bug 27926: (QA follow-up) Switch to using data-order
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2021-04-03 14:57:31 UTC
Size:
2.13 KB
patch
obsolete
>From e813f19a2c698a6c863a59093a4862750ba815d3 Mon Sep 17 00:00:00 2001 >From: Martin Renvoize <martin.renvoize@ptfs-europe.com> >Date: Fri, 12 Mar 2021 08:48:59 +0000 >Subject: [PATCH] Bug 27926: (QA follow-up) Switch to using data-order > >This patch switches away from using the title attribute for ordering and >instead uses data-order which is supported in modern DataTables. This >has the effect of allowing our ordering to continue to work but without >adding the unwanted tooltip on hover. > >Test plan >1/ Ensure sorting is still working as expected >2/ Hover over any of the date of birth fields and note that you are not >longer faced with a tooltip. >3/ Signoff > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >--- > .../intranet-tmpl/prog/en/includes/circ-patron-search-results.inc | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/circ-patron-search-results.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/circ-patron-search-results.inc >index 1a67d38381..3864011c40 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/circ-patron-search-results.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/circ-patron-search-results.inc >@@ -4,7 +4,7 @@ > <tr> > <th>Name</th> > <th>Card number</th> >- <th class="title-string">Date of birth</th> >+ <th>Date of birth</th> > <th>Category</th> > <th>Library</th> > <th>Address</th> >@@ -26,7 +26,7 @@ > <td><a href="[% data_url | url %]">[% borrower.surname | html %], [% borrower.firstname | html %]</a></td> > [% END %] > <td>[% borrower.cardnumber | html %]</td> >- <td><span title="[% borrower.dateofbirth | html %]">[% INCLUDE 'patron-age.inc' patron = borrower %]</span></td> >+ <td data-order="[% borrower.dateofbirth | html %]">[% INCLUDE 'patron-age.inc' patron = borrower %]</td> > <td>[% Categories.GetName( borrower.categorycode ) | html %]</td> > <td>[% Branches.GetName( borrower.branchcode ) | html %]</td> > <td>[% borrower.address | html %]</td> >-- >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 27926
:
118118
|
118124
|
118181
|
119159
| 119160