From: Paul Hänsch Date: Sat, 15 Dec 2018 17:42:02 +0000 (+0100) Subject: support for Group ordering X-Git-Url: https://git.plutz.net/?a=commitdiff_plain;h=1dd87fbd99fe1362e394556dcee4bc8fa88a515f;p=serve0 support for Group ordering --- diff --git a/advsearch.sh b/advsearch.sh index df2e908..3a2f333 100644 --- a/advsearch.sh +++ b/advsearch.sh @@ -1,7 +1,7 @@ #!/bin/sh f='' -order="$(POST order |grep -m1 -xE 'Name|Date|Length' || printf Name)" +order="$(POST order |grep -m1 -xE 'Name|Date|Length|Group' || printf Name)" for n in 1 2 3 4 5 6 7 8 9; do [ "$(POST pol_$n)" = neg ] \ diff --git a/widgets.sh b/widgets.sh index f541c21..5a73148 100644 --- a/widgets.sh +++ b/widgets.sh @@ -105,6 +105,7 @@ w_bookmarks(){ "$(HTML "$name" |sed 's;,\;;&[wbr];g;')" \ "$search" "$filter" \ "$search" "$filter" \ + "$search" "$filter" \ "$search" "$filter" done printf ']'