From d180a1af54cd340a88a476c779f02e06c5f5c872 Mon Sep 17 00:00:00 2001 From: OpenXE <> Date: Sat, 3 Aug 2024 13:33:58 +0200 Subject: [PATCH] module_creator echo $sql --- tools/module_creator/module_creator_php_template.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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; }