From 8ed5dd3dfc63256a205f4a27eb5d32606827a05a Mon Sep 17 00:00:00 2001 From: james Date: Wed, 10 Jan 2007 17:19:15 +0000 Subject: [PATCH] Try this version.. Removed the quotes from sortField, added them to the table headers when the table is printed. --- tableeditor.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tableeditor.class.php b/tableeditor.class.php index 5616cfa..2e2e228 100644 --- a/tableeditor.class.php +++ b/tableeditor.class.php @@ -903,7 +903,7 @@ class TableEditor } } if($this->sortField()) - $query.=" ORDER BY `".$this->sortField()."`"; + $query.=" ORDER BY ".$this->sortField().""; if($this->rowsPerPage>0) { @@ -1031,7 +1031,7 @@ class TableEditor if($this->sortField()==$f) echo "".i18n($n).""; else - echo "".i18n($n).""; + echo "".i18n($n).""; } echo "".i18n("Actions").""; echo "";