hokey fix for nodes with domains
This commit is contained in:
@@ -168,8 +168,9 @@ ajax '/ajax/content/search/node' => require_login sub {
|
|||||||
else {
|
else {
|
||||||
$set = schema('netdisco')->resultset('NodeIp')
|
$set = schema('netdisco')->resultset('NodeIp')
|
||||||
->search_by_dns({
|
->search_by_dns({
|
||||||
dns => $likeval,
|
($using_wildcards ? (dns => $likeval) :
|
||||||
suffix => setting('domain_suffix'),
|
(dns => "${likeval}.\%",
|
||||||
|
suffix => setting('domain_suffix'))),
|
||||||
@active,
|
@active,
|
||||||
@times,
|
@times,
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user