[Koha-bugs] [Bug 27934] New: Using 'title' attributes on span fields for sorting is wrong
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Mar 11 16:39:59 CET 2021
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27934
Bug ID: 27934
Summary: Using 'title' attributes on span fields for sorting is
wrong
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P5 - low
Component: Staff Client
Assignee: koha-bugs at lists.koha-community.org
Reporter: martin.renvoize at ptfs-europe.com
QA Contact: testopia at bugs.koha-community.org
CC: gmcharlt at gmail.com
We have some interesting code in our datatables wrappers to magically sort on
'title' attributes found in spans in table fields (When the headings are marked
up with 'title-string' and 'title-number' classes).
This is weird and a mis-use of the HTML title attribute. It results in tooltips
being generated for all fields witch such values and often those tooltips are
confusing/mismatched.
We should replace these with either data- attributes or perhaps use hidden
datatables columns for sorting?
Basically.. there must be a better way.
--
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
More information about the Koha-bugs
mailing list