fix oui join type and improve search comments
This commit is contained in:
@@ -69,6 +69,7 @@ __PACKAGE__->belongs_to( oui => 'Netdisco::DB::Result::Oui',
|
|||||||
{ '=' => \"substring(cast($args->{self_alias}.mac as varchar) for 8)" }
|
{ '=' => \"substring(cast($args->{self_alias}.mac as varchar) for 8)" }
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
, { join_type => 'LEFT' }
|
||||||
);
|
);
|
||||||
|
|
||||||
__PACKAGE__->has_many( node_ips => 'Netdisco::DB::Result::NodeIp',
|
__PACKAGE__->has_many( node_ips => 'Netdisco::DB::Result::NodeIp',
|
||||||
|
|||||||
@@ -34,7 +34,7 @@
|
|||||||
[% ELSE %]
|
[% ELSE %]
|
||||||
<div class="alert-message success fade in" data-alert="on">
|
<div class="alert-message success fade in" data-alert="on">
|
||||||
<a class="close" href="#">×</a>
|
<a class="close" href="#">×</a>
|
||||||
<p>Hit <strong>Enter</strong> in the Search box to view the current Inventory.</p>
|
<p>Hit <strong>Enter</strong> in the Search box to view the current Inventory (<em>temporary feature</em>).</p>
|
||||||
</div>
|
</div>
|
||||||
[% END %]
|
[% END %]
|
||||||
<div class="hero-unit">
|
<div class="hero-unit">
|
||||||
|
|||||||
@@ -57,7 +57,7 @@
|
|||||||
[% END %]
|
[% END %]
|
||||||
</ul>
|
</ul>
|
||||||
<form method="get" action="[% uri_for('/search') %]">
|
<form method="get" action="[% uri_for('/search') %]">
|
||||||
<input placeholder="Search" class="span5" name="q" type="text"/>
|
<input placeholder="Device, Node or VLAN Search" class="span5" name="q" type="text"/>
|
||||||
</form>
|
</form>
|
||||||
<ul class="nav secondary-nav">
|
<ul class="nav secondary-nav">
|
||||||
<li class="menu">
|
<li class="menu">
|
||||||
|
|||||||
Reference in New Issue
Block a user