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 3 additions and 3 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -184,7 +184,7 @@ export function initApiSelect() {
// element's value.
const event = new Event(`netbox.select.onload.${select.name}`);
// 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)) {
// Store the original URL, so it can be referred back to as filter-by elements change.