add IP search to main search

  • add IP search to main search

    Posted by helplakmal on March 19, 2013 at 08:39

    hi,
    in pandorafms 4.0.3 and pandorafms5 both versions main search cannot use for ip searching. but with simple modification we can use it for ip searching also.
    this modification is for /var/www/pandora_console/operation/search_agents.php file.

    root@myserver:/var/www/pandora_console/operation# diff search_agents.php.18032013 search_agents.php
    115a116,117
    >       // Adding an optional searching criteria by the IP Address
    >       $extra_sql = "t1.direccion COLLATE utf8_general_ci LIKE '%%" . $stringSearchSQL . "%%' OR";
    146a149
    >                                               " . $extra_sql . "
    

    —-thank you Mr supun, for showing me this modifications—-

    NishPatil replied 3 years, 10 months ago 4 Members · 3 Replies
  • 3 Replies