From 6df7eedc787d648c64085f9f3b73f25a89c384a3 Mon Sep 17 00:00:00 2001 From: Felisp Date: Sun, 24 Dec 2023 02:09:59 +0100 Subject: [PATCH] Fixed sorting of threads by ChoD --- README.org | 4 ++-- src/rss_thread_watch/feed_generator.clj | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.org b/README.org index a061e98..46aa052 100644 --- a/README.org +++ b/README.org @@ -59,10 +59,10 @@ This is an experimental project. There are several limitations: ** Feature set -- Planned/finnished features [7%] +- Planned/finnished features [15%] - [X] [DONE] Super basic features done (feed, query, repeat) + - [X] Have proper sorting - The most likely to die threads first - [ ] No params request should redirect to url generator or (for now) documentation - - [ ] Have proper sorting - The most likely to die threads first (stačí dát reverse u posledního vstupu filtru?) - [ ] Config file instead of hardcoding config values - [ ] Include time of latest data fetch - [ ] Make threads have preview images taken from the actuall thread OP diff --git a/src/rss_thread_watch/feed_generator.clj b/src/rss_thread_watch/feed_generator.clj index 1df60c1..39f9d62 100644 --- a/src/rss_thread_watch/feed_generator.clj +++ b/src/rss_thread_watch/feed_generator.clj @@ -66,7 +66,7 @@ (s/includes? title querry)) query-vec) t))) - needed-cache-part)] + (reverse needed-cache-part))] ;; Finally generate and append GUIDs (map guid-fn actuall-matches)))