From 2ecfcdee834ed9ce956dc0a007a86eb0a26b6991 Mon Sep 17 00:00:00 2001 From: Dave Gallant Date: Sat, 7 Jan 2023 19:52:28 -0500 Subject: [PATCH] Fix bug that only sorts filtered topics rather than all topics --- src/App.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/App.vue b/src/App.vue index 6c059f7..60ce381 100644 --- a/src/App.vue +++ b/src/App.vue @@ -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]) {