juliuste/bahn.guru

Feature Request: sort by Column asc/desc

Opened this issue · 2 comments

i like to order it by column (for example start time)

Tampermonkey script:

// ==UserScript==
// @name         Bahnguru datatables
// @namespace    http://bahn.guru/
// @version      0.1
// @description  try to take over the world!
// @author       You
// @match        https://bahn.guru/day*
// @require      https://cdn.datatables.net/v/dt/jqc-1.12.4/dt-1.10.20/datatables.min.js
// @resource     https://cdn.datatables.net/v/dt/jqc-1.12.4/dt-1.10.20/datatables.min.css
// @grant        none
// ==/UserScript==

(function() {

    $('body').ready( function () {
        $('table#journeys').DataTable({
            "paging": false
        });
    } );
})();

Would be nice to sort on any column.