www/nginx: add port to selection (#875)

This commit is contained in:
Fabian Franz BSc
2018-09-27 22:41:14 +02:00
committed by GitHub
parent 0a061a15b3
commit c33f32990e
2 changed files with 3 additions and 2 deletions
@@ -120,7 +120,7 @@ class SettingsController extends ApiMutableModelControllerBase
// Upstream Server
public function searchupstreamserverAction()
{
return $this->searchBase('upstream_server', array('description', 'server', 'priority'));
return $this->searchBase('upstream_server', array('description', 'server', 'port', 'priority'));
}
public function getupstreamserverAction($uuid = null)
@@ -214,7 +214,8 @@ $( document ).ready(function() {
<thead>
<tr>
<th data-column-id="description" data-type="string" data-sortable="false" data-visible="true">{{ lang._('Description') }}</th>
<th data-column-id="server" data-type="string" data-sortable="false" data-visible="true">{{ lang._('Server') }}</th>
<th data-column-id="server" data-type="string" data-sortable="true" data-visible="true">{{ lang._('Server') }}</th>
<th data-column-id="port" data-type="string" data-sortable="true" data-visible="true">{{ lang._('Port') }}</th>
<th data-column-id="priority" data-type="string" data-sortable="false" data-visible="true">{{ lang._('Priority') }}</th>
<th data-column-id="commands" data-width="7em" data-formatter="commands" data-sortable="false">{{ lang._('Commands') }}</th>
</tr>