diff --git a/webif/html/browse/index.jim b/webif/html/browse/index.jim
index 669831e7..a1b60be3 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"