From 2f762fb620f440a72af128b3455df3897d06fba1 Mon Sep 17 00:00:00 2001 From: Ricardo Martincoski Date: Wed, 5 Jul 2017 22:36:31 -0300 Subject: [PATCH] pkg-stats: allow to sort by column With 2000+ packages it's not trivial to identify i.e.: - all packages that don't have a hash file; - all packages that have patches; - all packages that have code style warnings; User experience can be improved by dynamically sorting the resulting table. There is an open-source solution that does that in the client-side and requires minimal changes to our script: sorttable.js. The script is MIT licensed as stated in its website. Also add a hint to the user that the table can be sorted. Signed-off-by: Ricardo Martincoski Cc: Arnout Vandecappelle Signed-off-by: Thomas Petazzoni --- support/scripts/pkg-stats | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/support/scripts/pkg-stats b/support/scripts/pkg-stats index 1956941f37..95a8afc45e 100755 --- a/support/scripts/pkg-stats +++ b/support/scripts/pkg-stats @@ -26,6 +26,7 @@ # echo " +