mirror of
https://github.com/apache/nifi.git
synced 2025-02-12 13:05:14 +00:00
NIFI-6671 - sort parameters by name in the 'Reference Parameter' dropdown.
This closes #3736
This commit is contained in:
parent
5ca3655dbf
commit
7e9277a2bc
@ -615,7 +615,8 @@
|
||||
// load the parameters
|
||||
parametersLoaded = new $.Deferred(function (deferred) {
|
||||
loadParameters(propertyDescriptor, function (parameterListing) {
|
||||
parameterListing.forEach(function (parameter) {
|
||||
var sortedParams = _.sortBy(parameterListing, 'name');
|
||||
sortedParams.forEach(function (parameter) {
|
||||
parameterOptions.push({
|
||||
text: parameter.name,
|
||||
value: '#{' + parameter.name + '}',
|
||||
|
Loading…
x
Reference in New Issue
Block a user