openstudyroom icon indicating copy to clipboard operation
openstudyroom copied to clipboard

League/archives/ allow table sorting

Open angelsesma opened this issue 4 years ago • 6 comments

helps visualize open leagues sorting by date; alphabetical order displays open leagues down at the bottom

angelsesma avatar Jan 10 '21 19:01 angelsesma

realized sorting class exists for tables, will try to implement that way

angelsesma avatar Jan 10 '21 21:01 angelsesma

wait, table are sortable already isn't it? We use datatable.

cspaier avatar Jan 10 '21 21:01 cspaier

thanks for the heads up!

angelsesma avatar Jan 10 '21 22:01 angelsesma

If you cannot sort, please include the browser you use and javascript console logs.

climu avatar Feb 05 '21 05:02 climu

Firefox logs the following errors when loading /league/archives/ :

“http://cdnjs.cloudflare.com/ajax/libs/moment.js/2.23.0/locale/es-mx.js” was blocked due to MIME type mismatch (“text/html”) (X-Content-Type-Options: nosniff).

Uncaught TypeError: a._locale is null

all of the other tables allow sorting without problem

angelsesma avatar Feb 18 '21 22:02 angelsesma

weird, that file is missing for everything older than 2.29.0. here's 2.28.0: https://cdnjs.com/libraries/moment.js/2.28.0

raylu avatar Feb 18 '21 23:02 raylu