mirror of
https://github.com/davegallant/rfd-fyi.git
synced 2025-08-06 07:13:39 +00:00
Fix bug that only sorts filtered topics rather than all topics
This commit is contained in:
@@ -58,7 +58,7 @@ export default {
|
||||
localStorage.setItem("sortColumn", col);
|
||||
this.sortColumn = col;
|
||||
|
||||
this.filteredTopics.sort(function (a, b) {
|
||||
this.topics.sort(function (a, b) {
|
||||
if (a[col] > b[col]) {
|
||||
return ascending ? -1 : 1;
|
||||
} else if (a[col] < b[col]) {
|
||||
|
Reference in New Issue
Block a user