diff --git a/webif/html/browse/index.jim b/webif/html/browse/index.jim
index 669831e..a1b60be 100755
--- a/webif/html/browse/index.jim
+++ b/webif/html/browse/index.jim
@@ -379,7 +379,8 @@ foreach sl $sortlist {
set tag " (current)"
if {$order != $index} {
- puts ""
+ set qs [regsub -all {&order=[[[:digit:]]+} $env(QUERY_STRING) ""]
+ puts ""
set tag ""
}
puts " $descr$tag"