Page MenuHomePhabricator

It isn't possible to order on page of any individual ticket
Closed, ResolvedPublic

Description

All columns are affected.

Console:

jquery.dataTables.js:6118 Uncaught TypeError: Cannot create property 'length' on boolean 'false'
    at _fnSortListener (jquery.dataTables.js:6118)
    at jquery.dataTables.js:6167
    at HTMLTableCellElement.<anonymous> (jquery.dataTables.js:6538)
    at HTMLTableCellElement.dispatch (jquery.min.js:3)
    at HTMLTableCellElement.r.handle (jquery.min.js:3)
_fnSortListener @ jquery.dataTables.js:6118
(anonymous) @ jquery.dataTables.js:6167
(anonymous) @ jquery.dataTables.js:6538
dispatch @ jquery.min.js:3
r.handle @ jquery.min.js:3

I tried this on https://tracker.wikimedia.cz/ticket/1433/.

Event Timeline

This isn't an issue with the amount, all the columns are impossible to order.

Also see this error (occurs when actually clicking an order arrow/button):

jquery.dataTables.js:6118 Uncaught TypeError: Cannot create property 'length' on boolean 'false'
    at _fnSortListener (jquery.dataTables.js:6118)
    at jquery.dataTables.js:6167
    at HTMLTableCellElement.<anonymous> (jquery.dataTables.js:6538)
    at HTMLTableCellElement.dispatch (jquery.min.js:3)
    at HTMLTableCellElement.r.handle (jquery.min.js:3)

settings.aaSorting seems to be false so there is probably an issue when the tables are created.

Change 478472 had a related patch set uploaded (by Nathan fraignt; owner: Nathan fraignt):
[wikimedia-cz/tracker@master] Fix sorting of dates and (pre)expeditures on ticket tables

https://gerrit.wikimedia.org/r/478472

Urbanecm renamed this task from It isn't possible to order by amount on page of any individual ticket to It isn't possible to order on page of any individual ticket.Dec 9 2018, 1:13 PM
Urbanecm updated the task description. (Show Details)