Skip to content

Commit

Permalink
Fixes #2483: Set max item count of API-populated form fields to MAX_P…
Browse files Browse the repository at this point in the history
…AGE_SIZE
  • Loading branch information
jeremystretch committed Oct 3, 2018
1 parent 7583912 commit 99848aa
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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)

## Enhancements
Expand Down
2 changes: 1 addition & 1 deletion netbox/project-static/js/forms.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ $(document).ready(function() {
}

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 initial_value = child_field.attr('initial');
var display_field = child_field.attr('display-field') || 'name';
Expand Down

0 comments on commit 99848aa

Please sign in to comment.