From 713b369fc3d3576650e377d9b51abf09f2c1f9f3 Mon Sep 17 00:00:00 2001 From: Stefan Date: Sat, 24 Jan 2015 12:49:17 +0100 Subject: [PATCH] Add 'last update' column to plugins table --- src/static/js/admin/plugins.js | 4 ++-- src/templates/admin/plugins.html | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/static/js/admin/plugins.js b/src/static/js/admin/plugins.js index a1ad624a4..6c939dc2c 100644 --- a/src/static/js/admin/plugins.js +++ b/src/static/js/admin/plugins.js @@ -141,14 +141,14 @@ $(document).ready(function () { // Sort $('.sort.up').unbind('click').click(function() { - search.sortBy = $(this).text().toLowerCase(); + search.sortBy = $(this).attr('data-label').toLowerCase(); search.sortDir = false; search.offset = 0; search(search.searchTerm, search.results.length); search.results = []; }) $('.sort.down, .sort.none').unbind('click').click(function() { - search.sortBy = $(this).text().toLowerCase(); + search.sortBy = $(this).attr('data-label').toLowerCase(); search.sortDir = true; search.offset = 0; search(search.searchTerm, search.results.length); diff --git a/src/templates/admin/plugins.html b/src/templates/admin/plugins.html index 96ed08fbe..71c4dbcc5 100644 --- a/src/templates/admin/plugins.html +++ b/src/templates/admin/plugins.html @@ -78,6 +78,7 @@ Name Description Version + Last update @@ -86,6 +87,7 @@ +