1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

Fixes #2406: Remove hard-coded limit of 1000 objects from API-populated form fields

This commit is contained in:
Jeremy Stretch
2018-09-13 11:21:40 -04:00
parent 010765e131
commit 3a88e43103
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,11 @@
v2.4.5 (FUTURE)
## Bug Fixes
* [#2406](https://github.com/digitalocean/netbox/issues/2406) - Remove hard-coded limit of 1000 objects from API-populated form fields
---
v2.4.4 (2018-08-22)
## Enhancements

View File

@ -82,7 +82,7 @@ $(document).ready(function() {
}
if ($(parent).val() || $(parent).attr('nullable') == 'true') {
var api_url = child_field.attr('api-url') + '&limit=1000';
var api_url = child_field.attr('api-url');
var disabled_indicator = child_field.attr('disabled-indicator');
var initial_value = child_field.attr('initial');
var display_field = child_field.attr('display-field') || 'name';