changeset 8248:4a0386c40504

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.
author Mads Kiilerich <mads@kiilerich.com>
date Fri, 14 Feb 2020 14:45:56 +0100
parents f37ea359b641
children 01591e4b1ac8
files kallithea/templates/index_base.html
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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}
                 ],