Commit dbfeceeb authored by lpsolit%gmail.com's avatar lpsolit%gmail.com

Bug 510944: Sorting bug lists on some fields can fail - Patch by Fré©ric…

Bug 510944: Sorting bug lists on some fields can fail - Patch by Fré©ric Buclin <LpSolit@gmail.com> r=ghendricks a=LpSolit
parent d747fb6f
......@@ -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 %]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment