mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 16:55:05 +02:00
2009-06-25 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_db.php: optimice the search agent in DB, quit option to search for description. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1772 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
5b1579bef5
commit
f9307a4baa
@ -1,3 +1,8 @@
|
|||||||
|
2009-06-25 Miguel de Dios <miguel.dedios@artica.es>
|
||||||
|
|
||||||
|
* include/functions_db.php: optimice the search agent in DB, quit option
|
||||||
|
to search for description.
|
||||||
|
|
||||||
2009-06-25 Miguel de Dios <miguel.dedios@artica.es>
|
2009-06-25 Miguel de Dios <miguel.dedios@artica.es>
|
||||||
|
|
||||||
* godmode/agentes/massive_delete_agents.php,
|
* godmode/agentes/massive_delete_agents.php,
|
||||||
|
@ -346,7 +346,7 @@ function get_group_agents ($id_group = 0, $search = false, $case = "lower") {
|
|||||||
unset ($search["disabled"]);
|
unset ($search["disabled"]);
|
||||||
if (isset ($search["string"])) {
|
if (isset ($search["string"])) {
|
||||||
$string = safe_input ($search["string"]);
|
$string = safe_input ($search["string"]);
|
||||||
$search_sql .= ' AND (nombre LIKE "%'.$string.'%" OR comentarios LIKE "%'.$string.'%" OR direccion LIKE "%'.$string.'%")';
|
$search_sql .= ' AND (nombre LIKE "%'.$string.'%" OR direccion LIKE "%'.$string.'%")';
|
||||||
|
|
||||||
unset ($search["string"]);
|
unset ($search["string"]);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user