Projekt

Obecné

Profil

« Předchozí | Další » 

Revize 164

Přidáno uživatelem Michal Kliment před více než 15 roky(ů)

Opraveno razeni podle IP adres u gridu s IP adresami

Zobrazit rozdíly:

freenetis/trunk/kohana/application/models/ip_address.php
$where .= $this->get_sql($key).' like \'%'.trim($value).'%\' collate utf8_general_ci';
}
}
if ($order_by=='IP_address') $order_by = 'str2ip(IP_address)';
return self::$db->query('select ip.id, ip.IP_address, f.MAC, s.name as segment_name, d.name as device_name, concat(u.name,\' \',u.surname) as user_name from ip_addresses ip
left join ifaces f on ip.iface_id = f.id

Také k dispozici: Unified diff