new port-search wildcarding - bad idea?
* for an exact match use "quoting", a bit like what Google does to enforce a search term * otherwise terms are assumed to be wildcard bounded and case insensitive * without quotes, * and ? characters are supported for multi and single character wildcards. we could revert this commit if we don't like it.
This commit is contained in:
		| @@ -61,7 +61,7 @@ | ||||
|       <td nowrap> | ||||
|       [% END %] | ||||
|         <a class="nd_linkcell nd_this-port-only" href="[% uri_for('/device', | ||||
|             self_options) %]&q=[% params.q | uri %]&f=[% row.port | uri %]"> | ||||
|             self_options) %]&q=[% params.q | uri %]&f=%22[% row.port | uri %]%22"> | ||||
|         [% row.port | html_entity %] | ||||
|       </a></td> | ||||
|       [% END %] | ||||
| @@ -211,7 +211,7 @@ | ||||
|         [% IF params.c_neighbors AND (row.remote_ip OR row.is_uplink) %] | ||||
|           [% IF row.neighbor %] | ||||
|           <a href="[% uri_for('/device', | ||||
|                 self_options) %]&q=[% row.neighbor.dns || row.neighbor.ip | uri %]&f=[% row.remote_port | uri %]"> | ||||
|                 self_options) %]&q=[% row.neighbor.dns || row.neighbor.ip | uri %]&f=%22[% row.remote_port | uri %]%22"> | ||||
|             [% row.neighbor.dns.remove(settings.domain_suffix) || row.neighbor.ip | html_entity %] | ||||
|             ([% row.remote_port | html_entity %] | ||||
|             [% ' id: '_ row.remote_id IF row.remote_id %] | ||||
|   | ||||
		Reference in New Issue
	
	Block a user