From 7af333e1f7687cec831d7f2991ca0d52300e8fe8 Mon Sep 17 00:00:00 2001 From: Adam Date: Mon, 25 Aug 2014 13:37:55 +0800 Subject: [PATCH] Fix sorting on mass update page --- gui/slick/interfaces/default/manage.tmpl | 23 +++++++++++++---------- 1 file changed, 13 insertions(+), 10 deletions(-) diff --git a/gui/slick/interfaces/default/manage.tmpl b/gui/slick/interfaces/default/manage.tmpl index 71e3ae2c..64882eca 100644 --- a/gui/slick/interfaces/default/manage.tmpl +++ b/gui/slick/interfaces/default/manage.tmpl @@ -43,28 +43,31 @@ textExtraction: { 2: function(node) { return \$(node).find("span").text().toLowerCase(); }, 3: function(node) { return \$(node).find("img").attr("alt"); }, - 4: function(node) { return \$(node).find("img").attr("alt"); } + 4: function(node) { return \$(node).find("img").attr("alt"); }, + 5: function(node) { return \$(node).find("img").attr("alt"); }, + 6: function(node) { return \$(node).find("img").attr("alt"); }, + 7: function(node) { return \$(node).find("img").attr("alt"); } }, widgets: ['zebra'], headers: { 0: { sorter: false}, 1: { sorter: 'showNames'}, 2: { sorter: 'quality'}, - 3: { sorter: 'flatfold'}, - 4: { sorter: 'paused'}, - 5: { sorter: 'status'}, - 6: { sorter: false}, - 7: { sorter: false}, - 8: { sorter: false}, + 3: { sorter: true}, + 4: { sorter: true}, + 5: { sorter: true}, + 6: { sorter: true}, + 7: { sorter: true}, + 8: { sorter: true}, 9: { sorter: false}, 10: { sorter: false}, 11: { sorter: false}, 12: { sorter: false} -#if $sickbeard.USE_SUBTITLES +#if $sickbeard.USE_SUBTITLES , 13: { sorter: false} -#end if +#end if } - }); + }); }); //-->