Filter on name or description
This commit is contained in:
parent
76ae03b966
commit
5d74df1f27
2 changed files with 2 additions and 2 deletions
|
|
@ -137,7 +137,7 @@ echo $w->input('p_nom',$p_nom);
|
|||
?>
|
||||
<span class="notice">
|
||||
<?php
|
||||
echo _('Donnez une partie du nom du dossier à rechercher');
|
||||
echo _('Donnez une partie du nom du dossier ou de la description à rechercher');
|
||||
?>
|
||||
</span>
|
||||
</form>
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue