mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-14 09:51:22 -06:00
Fixes #2483: Set max item count of API-populated form fields to MAX_PAGE_SIZE
This commit is contained in:
parent
7583912de7
commit
99848aab6a
@ -1,3 +1,11 @@
|
|||||||
|
v2.4.6 (FUTURE)
|
||||||
|
|
||||||
|
## Bug Fixes
|
||||||
|
|
||||||
|
[#2483](https://github.com/digitalocean/netbox/issues/2483) - Set max item count of API-populated form fields to MAX_PAGE_SIZE
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
v2.4.5 (2018-10-02)
|
v2.4.5 (2018-10-02)
|
||||||
|
|
||||||
## Enhancements
|
## Enhancements
|
||||||
|
@ -82,7 +82,7 @@ $(document).ready(function() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if ($(parent).val() || $(parent).attr('nullable') == 'true') {
|
if ($(parent).val() || $(parent).attr('nullable') == 'true') {
|
||||||
var api_url = child_field.attr('api-url');
|
var api_url = child_field.attr('api-url') + '&limit=0';
|
||||||
var disabled_indicator = child_field.attr('disabled-indicator');
|
var disabled_indicator = child_field.attr('disabled-indicator');
|
||||||
var initial_value = child_field.attr('initial');
|
var initial_value = child_field.attr('initial');
|
||||||
var display_field = child_field.attr('display-field') || 'name';
|
var display_field = child_field.attr('display-field') || 'name';
|
||||||
|
Loading…
Reference in New Issue
Block a user