We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e4a44b9 commit cf8611dCopy full SHA for cf8611d
1 file changed
frontend/vre/utils/tabulator-utils.js
@@ -182,7 +182,8 @@ const standardColumns = _.mapValues({
182
function getUniqueValues(cell) {
183
var cells = cell.getColumn().getCells();
184
var data = _.map(cells, c => c.getValue() && c.getValue().split(', '));
185
- data = _.chain(data).flatten().filter(_.negate(_.isEmpty)).uniq().sortBy().value();
+ // TODO: replace sortedUniq() by uniq(true) when switching to Underscore
186
+ data = _.chain(data).flatten().filter(_.negate(_.isEmpty)).sort().sortedUniq().value();
187
data.unshift({
188
label: '(all)',
189
value: '',
0 commit comments