summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThanos Apollo <[email protected]>2024-02-06 16:42:53 +0200
committerThanos Apollo <[email protected]>2024-02-06 16:42:53 +0200
commit1f335fb581717ecf0f0076f9b39a8ca18183fd07 (patch)
tree98521885d6d1453fa9a0d8ad29663622a5dbb350
parent8a4590983faa9de8812e68a1dc1d12ee89a25816 (diff)
[Fix] yeetube-mode: Use default sorting
Sort search results same as they were from the youtube query. Future versions will should add sorting custom options. The default one should be nil.
-rw-r--r--yeetube.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/yeetube.el b/yeetube.el
index 763f1f3..90747b6 100644
--- a/yeetube.el
+++ b/yeetube.el
@@ -463,7 +463,8 @@ FIELDS-FACE-PAIRS is a list of fields and faces."
:view-count 'yeetube-face-view-count
:duration 'yeetube-face-duration
:channel 'yeetube-face-channel)))
- yeetube-content))
+ (reverse yeetube-content))
+ tabulated-list-sort-key nil)
(display-line-numbers-mode 0)
(tabulated-list-init-header)
(tabulated-list-print))