mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-23 04:22:01 -06:00
fix api select pagination
This commit is contained in:
parent
aee09d9119
commit
58e1a1f1d8
BIN
netbox/project-static/dist/netbox.js
vendored
BIN
netbox/project-static/dist/netbox.js
vendored
Binary file not shown.
BIN
netbox/project-static/dist/netbox.js.map
vendored
BIN
netbox/project-static/dist/netbox.js.map
vendored
Binary file not shown.
@ -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.
|
||||||
|
Loading…
Reference in New Issue
Block a user