diff options
author | lpsolit%gmail.com <> | 2009-08-18 17:45:05 +0200 |
---|---|---|
committer | lpsolit%gmail.com <> | 2009-08-18 17:45:05 +0200 |
commit | dbfeceeba9f66601ff3145713cbb4050016b4411 (patch) | |
tree | 2ad6eeddbd5fd6bec704311b43807b9c59009d2c | |
parent | d747fb6ff7493acf3c60ca71441caa18a31127ee (diff) | |
download | bugzilla-dbfeceeba9f66601ff3145713cbb4050016b4411.tar.gz bugzilla-dbfeceeba9f66601ff3145713cbb4050016b4411.tar.xz |
Bug 510944: Sorting bug lists on some fields can fail - Patch by Frédéric Buclin <LpSolit@gmail.com> r=ghendricks a=LpSolit
-rw-r--r-- | template/en/default/list/table.html.tmpl | 2 |
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 %]&order= [% id FILTER url_quote %][% desc FILTER url_quote %] [% ",$order" FILTER url_quote IF order %] |