diff --git a/tools/module_creator/module_creator_php_template.txt b/tools/module_creator/module_creator_php_template.txt index e0806214..6bdb7f6d 100644 --- a/tools/module_creator/module_creator_php_template.txt +++ b/tools/module_creator/module_creator_php_template.txt @@ -36,7 +36,7 @@ class PLACEHOLDER_MODULECLASSNAME { // columns that are aligned right (numbers etc) // $alignright = array(4,5,6,7,8); - $findcols = array('PLACEHOLDER_ID_COLUMN','PLACEHOLDER_ID_COLUMN',PLACEHOLDER_SQL_COLUMNS); + $findcols = array('PLACEHOLDER_ID_COLUMN','PLACEHOLDER_ID_COLUMN',PLACEHOLDER_SQL_COLUMNS); // use 'null' for non-searchable columns $searchsql = array(PLACEHOLDER_SQL_COLUMNS); $defaultorder = 1; @@ -60,6 +60,8 @@ class PLACEHOLDER_MODULECLASSNAME { $count = "SELECT count(DISTINCT id) FROM PLACEHOLDER_MODULENAME WHERE $where"; // $groupby = ""; +// echo($sql." WHERE ".$where." ".$groupby); + break; }