make navbar search fuzzier
This commit is contained in:
@@ -75,7 +75,7 @@ get '/search' => sub {
|
|||||||
params->{'tab'} = 'vlan';
|
params->{'tab'} = 'vlan';
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
my $nd = $s->resultset('Device')->search_aliases($q);
|
my $nd = $s->resultset('Device')->search_fuzzy($q);
|
||||||
|
|
||||||
if ($nd and $nd->count) {
|
if ($nd and $nd->count) {
|
||||||
if ($nd->count == 1) {
|
if ($nd->count == 1) {
|
||||||
|
|||||||
Reference in New Issue
Block a user