fix api select pagination

This commit is contained in:
checktheroads 2021-04-30 11:29:45 -07:00
parent aee09d9119
commit 58e1a1f1d8
3 changed files with 1 additions and 1 deletions

Binary file not shown.

Binary file not shown.

View File

@ -184,7 +184,7 @@ export function initApiSelect() {
// element's value. // element's value.
const event = new Event(`netbox.select.onload.${select.name}`); const event = new Event(`netbox.select.onload.${select.name}`);
// Query Parameters - will have attributes added below. // Query Parameters - will have attributes added below.
const query = {} as Record<string, string>; const query = { limit: 0 } as Record<string, string | number>;
if (hasUrl(select)) { if (hasUrl(select)) {
// Store the original URL, so it can be referred back to as filter-by elements change. // Store the original URL, so it can be referred back to as filter-by elements change.