# HG changeset patch # User Mads Kiilerich # Date 1581687956 -3600 # Node ID 4a0386c40504c2d04a195873da95b869f6e3a267 # Parent f37ea359b64106e6767493a1bce76d0a682f2228 repo: fix sorting in repo lists (Issue #360) Fix breakage I introduced in 173612a900ef when modifiying to add an early column and thus shifting the indices of columns used for sorting. diff -r f37ea359b641 -r 4a0386c40504 kallithea/templates/index_base.html --- a/kallithea/templates/index_base.html Sat Feb 15 03:04:48 2020 +0100 +++ b/kallithea/templates/index_base.html Fri Feb 14 14:45:56 2020 +0100 @@ -58,9 +58,9 @@ {data: "following", defaultContent: '', sortable: false}, {data: "desc", title: ${h.jshtml(_('Description'))}, searchable: false}, {data: "last_change_iso", defaultContent: '', visible: false, searchable: false}, - {data: "last_change", defaultContent: '', title: ${h.jshtml(_('Last Change'))}, orderData: [3,], searchable: false}, + {data: "last_change", defaultContent: '', title: ${h.jshtml(_('Last Change'))}, orderData: [4,], searchable: false}, {data: "last_rev_raw", defaultContent: '', visible: false, searchable: false}, - {data: "last_changeset", defaultContent: '', title: ${h.jshtml(_('Tip'))}, orderData: [5,], searchable: false}, + {data: "last_changeset", defaultContent: '', title: ${h.jshtml(_('Tip'))}, orderData: [6,], searchable: false}, {data: "owner", defaultContent: '', title: ${h.jshtml(_('Owner'))}, searchable: false}, {data: "atom", defaultContent: '', sortable: false} ],