Filter on name or description

This commit is contained in:
Dany De Bontridder 2012-01-09 13:49:15 +00:00
parent 76ae03b966
commit 5d74df1f27
2 changed files with 2 additions and 2 deletions

View file

@ -965,7 +965,7 @@ class User
join priv_user on ( priv_jnt=jnt_id)
where use_active=1
and use_login='".sql_string($this->login)."'
and priv_priv != 'X' and dos_name ilike '%$p_filter%'
and priv_priv != 'X' and ( dos_name ilike '%$p_filter%' or dos_description ~* '$p_filter')
order by dos_name";
}
else