4 order="$(POST order |grep -m1 -xE 'Name|Date|Length|Group' || printf Name)"
6 for n in 1 2 3 4 5 6 7 8 9 10; do
7 [ "$(POST pol_$n)" = neg ] \
10 for m in $(seq 1 $(POST_COUNT tag_$n)); do
11 tag="$(POST tag_$n $m)"
12 [ ! "${tag##${cat}:*}" ] || [ ! "${tag##-${cat}:*}" ] || [ "$cat" = '*' -a "${tag##*:*}" ] \
14 [ "$cat" = \$ ] && f="${f}\$:${tag}|"
18 f="$(printf '%s' "$f" |sed -E 's;[~|^]+$;;; s;\|\^;^;g;')"
21 REDIRECT "$(URL "${ITEM}")?o=${order}&f=${f}"