From 48f15fe6f5822040f2b4e04c59aef502e153192b Mon Sep 17 00:00:00 2001
From: mcramer <m.cramer@pixcept.de>
Date: Tue, 09 Jul 2013 04:18:40 -0400
Subject: [PATCH] - Implemented: Virtual columns (columns that are not in the db but shown in the list) can now be sorted if defined correctly

---
 interface/web/admin/form/tpl_default.tform.php |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/interface/web/admin/form/tpl_default.tform.php b/interface/web/admin/form/tpl_default.tform.php
index 728e156..de63948 100644
--- a/interface/web/admin/form/tpl_default.tform.php
+++ b/interface/web/admin/form/tpl_default.tform.php
@@ -63,8 +63,8 @@
 $form["description"] 	= "tpl_default_desc_txt";
 $form["name"] 		= "tpl_default";
 $form["action"]		= "tpl_default.php";
-$form["db_table"]	= "default";
-$form["db_table_idx"]	= "var_id";
+$form["db_table"]	= "sys_theme";
+$form["db_table_idx"]	= "id";
 $form["db_history"]	= "yes";
 $form["tab_default"]	= "basic";
 $form["list_default"]	= "system_config_edit.php";

--
Gitblit v1.9.1