]> git.plutz.net Git - serve0/commitdiff
support for Group ordering
authorPaul Hänsch <paul@plutz.net>
Sat, 15 Dec 2018 17:42:02 +0000 (18:42 +0100)
committerPaul Hänsch <paul@plutz.net>
Sat, 15 Dec 2018 17:42:02 +0000 (18:42 +0100)
advsearch.sh
widgets.sh

index df2e908a3a09b982fd0b511f673fa709ae9fb088..3a2f33389fc54180bfc6f48dadee482d2a15c458 100644 (file)
@@ -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 ] \
index f541c218021f95bc132576c59fe84ceb2ad44231..5a73148c2c40328524e274520663aa45da3c394e 100644 (file)
@@ -105,6 +105,7 @@ w_bookmarks(){
             "$(HTML "$name" |sed 's;&#44\;;&[wbr];g;')" \
             "$search" "$filter" \
             "$search" "$filter" \
+            "$search" "$filter" \
             "$search" "$filter"
   done
   printf ']'