[FFmpeg-devel] [FATESERVER/PATCH 6/8] index: allow multiple sorting criteria

Timothy Gu timothygu99 at gmail.com
Wed Jun 11 03:07:52 CEST 2014


Signed-off-by: Timothy Gu <timothygu99 at gmail.com>
---
 index.cgi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/index.cgi b/index.cgi
index 9a59370..6603fda 100755
--- a/index.cgi
+++ b/index.cgi
@@ -81,7 +81,7 @@ my $warn = 100 - $allpass - $allfail;
 
 my @sort = ('subarch', 'os', 'cc', 'comment', 'slot');
 my $sdir = 1; # default to ascending sorting
-defined $sort and unshift @sort, $sort;
+defined $sort and unshift @sort, split /\/\//, $sort;
 $sort ||= $sort[0];
 
 sub nscmp {
-- 
1.9.1



More information about the ffmpeg-devel mailing list