mirror of
https://github.com/pluginsGLPI/example.git
synced 2025-05-04 18:08:42 +02:00
pass 'searchtype' to addWhere hook
git-svn-id: https://forge.glpi-project.org/svn/example/trunk@191 349b9182-4a13-0410-896f-e5e9767dd1b3
This commit is contained in:
parent
622ff0617d
commit
1daf2a0372
2
hook.php
2
hook.php
@ -180,7 +180,7 @@ function plugin_example_forceGroupBy($type) {
|
||||
}
|
||||
|
||||
|
||||
function plugin_example_addWhere($link,$nott,$type,$ID,$val) {
|
||||
function plugin_example_addWhere($link, $nott, $type, $ID, $val, $searchtype) {
|
||||
|
||||
$searchopt = &Search::getOptions($type);
|
||||
$table = $searchopt[$ID]["table"];
|
||||
|
Loading…
x
Reference in New Issue
Block a user