Skip to content

Commit

Permalink
Sort available filters options in custom filters
Browse files Browse the repository at this point in the history
(cherry picked from commit 9e694c7b06c6d54fd652792fa1d81cc27ec1f311)
  • Loading branch information
markus101 authored and mynameisbogdan committed Jul 21, 2023
1 parent 7f51c44 commit 07cb19f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/Components/Filter/Builder/FilterBuilderRow.js
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ class FilterBuilderRow extends Component {
key: availablePropFilter.name,
value: availablePropFilter.label
};
});
}).sort((a, b) => a.value.localeCompare(b.value));

const ValueComponent = getRowValueConnector(selectedFilterBuilderProp);

Expand Down

0 comments on commit 07cb19f

Please sign in to comment.