Revision 218f4207
Suppression des '*' implicites autour des valeurs saisies lors d'une recherche,
l'opérateur peut les indiquer explicitement s'il le souhaite.
git-svn-id: https://vigilo-dev.si.c-s.fr/svn@3496 b22e2e97-25c9-44ff-b637-2e5ceca36478
vigigraph/controllers/rpc.py | ||
---|---|---|
387 | 387 |
GRAPH_PERFDATASOURCE_TABLE.c.idgraph), |
388 | 388 |
(SUPITEM_GROUP_TABLE, SUPITEM_GROUP_TABLE.c.idsupitem == \ |
389 | 389 |
Host.idhost), |
390 |
).filter(Host.name.ilike('%' + host + '%')
|
|
391 |
).filter(Graph.name.ilike('%' + graph + '%')
|
|
390 |
).filter(Host.name.ilike(host)
|
|
391 |
).filter(Graph.name.ilike(graph)
|
|
392 | 392 |
).order_by( |
393 | 393 |
Host.name.asc(), |
394 | 394 |
Graph.name.asc(), |
... | ... | |
409 | 409 |
).join( |
410 | 410 |
(SUPITEM_GROUP_TABLE, SUPITEM_GROUP_TABLE.c.idsupitem == \ |
411 | 411 |
Host.idhost), |
412 |
).filter(Host.name.ilike('%' + host + '%')
|
|
412 |
).filter(Host.name.ilike(host)
|
|
413 | 413 |
).order_by(Host.name.asc()) |
414 | 414 |
|
415 | 415 |
# Les managers ont accès à tout. |
Also available in: Unified diff