mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-26 00:18:03 +02:00
add config option for typeahead limit
This commit is contained in:
@@ -204,6 +204,7 @@ function '.$unique_id.'() {
|
||||
},
|
||||
{
|
||||
source: '.$unique_id.'_device.ttAdapter(),
|
||||
limit: '.$config['typeahead_limit'].',
|
||||
async: false,
|
||||
templates: {
|
||||
header: "<h5><strong> Devices</strong></h5>",
|
||||
@@ -240,6 +241,7 @@ function '.$unique_id.'() {
|
||||
},
|
||||
{
|
||||
source: '.$unique_id.'_port.ttAdapter(),
|
||||
limit: '.$config['typeahead_limit'].',
|
||||
async: false,
|
||||
templates: {
|
||||
header: "<h5><strong> Ports</strong></h5>",
|
||||
@@ -275,6 +277,7 @@ function '.$unique_id.'() {
|
||||
},
|
||||
{
|
||||
source: '.$unique_id.'_application.ttAdapter(),
|
||||
limit: '.$config['typeahead_limit'].',
|
||||
async: false,
|
||||
templates: {
|
||||
header: "<h5><strong> Applications</strong></h5>",
|
||||
@@ -312,6 +315,7 @@ function '.$unique_id.'() {
|
||||
},
|
||||
{
|
||||
source: '.$unique_id.'_munin.ttAdapter(),
|
||||
limit: '.$config['typeahead_limit'].',
|
||||
async: false,
|
||||
templates: {
|
||||
header: "<h5><strong> Munin</strong></h5>",
|
||||
@@ -346,6 +350,7 @@ function '.$unique_id.'() {
|
||||
},
|
||||
{
|
||||
source: '.$unique_id.'_bill.ttAdapter(),
|
||||
limit: '.$config['typeahead_limit'].',
|
||||
async: false,
|
||||
templates: {
|
||||
header: "<h5><strong><i class=\'fa fa-money\'></i> Bill</strong></h5>",
|
||||
|
||||
Reference in New Issue
Block a user