Actions
Bug #14963
closedContents of select boxes in settings are static, not showing latest objects
Description
#3200 reverted some behaviour of select boxes in the settings page so it now has static lists of environment, orgs and locations which are determined when the Rails server starts. These lists should be loaded dynamically on page load.
The lists of objects used to be loaded inside the helper, which ran during page rendering:
These are now hardcoded lists in the settings loader, which runs at startup:
The :collection should probably accept a lambda or something, which would also fix this situation for plugins.
Updated by Dominic Cleal over 8 years ago
- Related to Feature #3200: Add select boxes to Settings added
Updated by The Foreman Bot over 8 years ago
- Status changed from New to Ready For Testing
- Assignee set to Amir Fefer
- Pull request https://github.com/theforeman/foreman/pull/3509 added
Updated by Amir Fefer over 8 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset 1f823285f5c8231fc6afab0c7c2064690fde0d39.
Actions