]> git.plutz.net Git - serve0/blobdiff - index.cgi
ordering by grouplength
[serve0] / index.cgi
index ad110e070dcfeebb301108fc4bf16d53a72c3324..62e495aed94d5538515f3ba751dc5a625bc67c79 100755 (executable)
--- a/index.cgi
+++ b/index.cgi
@@ -15,7 +15,7 @@ file_pattern='^.*\.(mov|ts|mpg|mpeg|mp4|m4v|avi|mkv|flv|sfv|wmv|ogm|ogv|webm|iso
 
 FILTER="$(GET f)"
 SEARCH="$(GET s)"
-ORDER="$(GET o |grep -m1 -axE 'Date|Name|Length' || printf Name)"
+ORDER="$(GET o |grep -m1 -axE 'Date|Name|Length|Group' || printf Name)"
 LISTSIZE="$(COOKIE pagesize |grep -m1 -axE '[1-9][0-9]*' || printf 50)"
 ITEM="$(PATH "${PATH_INFO#/}")"
 ACTION="$(GET a)"