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)" }
|
||||
};
|
||||
}
|
||||
, { join_type => 'LEFT' }
|
||||
);
|
||||
|
||||
__PACKAGE__->has_many( node_ips => 'Netdisco::DB::Result::NodeIp',
|
||||
|
||||
@@ -34,7 +34,7 @@
|
||||
[% ELSE %]
|
||||
<div class="alert-message success fade in" data-alert="on">
|
||||
<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>
|
||||
[% END %]
|
||||
<div class="hero-unit">
|
||||
|
||||
@@ -57,7 +57,7 @@
|
||||
[% END %]
|
||||
</ul>
|
||||
<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>
|
||||
<ul class="nav secondary-nav">
|
||||
<li class="menu">
|
||||
|
||||
Reference in New Issue
Block a user