summaryrefslogtreecommitdiffstats
path: root/template/en/default/list/table.html.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'template/en/default/list/table.html.tmpl')
-rw-r--r--template/en/default/list/table.html.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/template/en/default/list/table.html.tmpl b/template/en/default/list/table.html.tmpl
index c1bbb7402..938c430cb 100644
--- a/template/en/default/list/table.html.tmpl
+++ b/template/en/default/list/table.html.tmpl
@@ -134,7 +134,7 @@
[% IF (om = order.match("$id( DESC)?")) %]
[% desc = ' DESC' IF NOT om.0 %]
[% END %]
- [% order = order.remove("$id( DESC)?,?") %]
+ [% order = order.remove("\\b$id( DESC)?(,\\s*|\$)") %]
<a href="buglist.cgi?[% urlquerypart FILTER html %]&amp;order=
[% id FILTER url_quote %][% desc FILTER url_quote %]
[% ",$order" FILTER url_quote IF order %]