From dbfeceeba9f66601ff3145713cbb4050016b4411 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Tue, 18 Aug 2009 15:45:05 +0000 Subject: [PATCH] =?utf8?q?Bug=20510944:=20Sorting=20bug=20lists=20on=20som?= =?utf8?q?e=20fields=20can=20fail=20-=20Patch=20by=20Fr=C3=83=C2=A9d=C3=83?= =?utf8?q?=C2=A9ric=20Buclin=20=20r=3Dghendricks=20a=3D?= =?utf8?q?LpSolit?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- template/en/default/list/table.html.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/template/en/default/list/table.html.tmpl b/template/en/default/list/table.html.tmpl index c1bbb74028..938c430cb5 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*|\$)") %]