mirror of
https://github.com/cosmocode/dokuwiki-plugin-struct.git
synced 2025-07-29 11:59:24 +00:00
Pack and sort filter values only in the dedicated method
This commit is contained in:
@ -104,6 +104,12 @@ class Filter extends Aggregation
|
||||
}
|
||||
}
|
||||
|
||||
array_walk($colValues, function (&$col) {
|
||||
$unique = array_unique($col['values']);
|
||||
sort($unique);
|
||||
$col['values'] = $unique;
|
||||
});
|
||||
|
||||
return $colValues;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user