瀏覽代碼

fix api select pagination

checktheroads 5 年之前
父節點
當前提交
58e1a1f1d8

文件差異過大導致無法顯示
+ 0 - 0
netbox/project-static/dist/netbox.js


文件差異過大導致無法顯示
+ 0 - 0
netbox/project-static/dist/netbox.js.map


+ 1 - 1
netbox/project-static/src/select/api.ts

@@ -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.

部分文件因文件數量過多而無法顯示