modern debugging: add client side sorting for tables

Description

  • add table markup, thead & tbody (needed for sorting)

  • add a javascript sorter using localeCompare with fallback for older browsers, including grouped sorting

  • refactored query usage report, hide results when no records or all columns matched

  • merged sql results into single table to allow sorting in groups

https://github.com/lucee/Lucee/pull/893

with this patch, you can just click on any table heading to sort by that column

Activity

Show:
Zac Spitzer
March 23, 2020, 9:33 AM

javascript's localCompare doesn't handle the thousand separator, and javascript still doesn't support native parsing of formatted number so i added a quick hack, when there's a comma, try removing it and converting to number, if it converts, use that value

Zac Spitzer
May 3, 2020, 3:26 PM
Edited

5.3.7.15-SNAPSHOT

Assignee

Unassigned

Reporter

Zac Spitzer

Labels

Affects versions

Priority

New
Configure