diff --git a/setup.php b/setup.php index de1c708..52f6d36 100755 --- a/setup.php +++ b/setup.php @@ -221,6 +221,17 @@ function plugin_example_addLeftJoin($type,$ref_table,$new_table,$linkfield){ } + +function plugin_example_forceGroupBy($type){ + switch ($type){ + case PLUGIN_EXAMPLE_TYPE : + // Force add GROUP BY IN REQUEST + return true; + break; + } + return false; +} + function plugin_example_addWhere($link,$nott,$type,$ID,$val){ global $SEARCH_OPTION;