aboutsummaryrefslogtreecommitdiff
path: root/src/lib/Tools
diff options
context:
space:
mode:
authorFuwn <[email protected]>2025-12-17 03:20:49 -0800
committerFuwn <[email protected]>2025-12-17 03:20:49 -0800
commit142233828857124091f108f74646fc08ddbb3773 (patch)
tree5981c7731ba10933a18edf1d209970ccc888dae1 /src/lib/Tools
parentfix(Wrapped): Improve data loading (diff)
downloaddue.moe-142233828857124091f108f74646fc08ddbb3773.tar.xz
due.moe-142233828857124091f108f74646fc08ddbb3773.zip
fix(EpisodeDiscussionCollector): Improve filtering
Diffstat (limited to 'src/lib/Tools')
-rw-r--r--src/lib/Tools/EpisodeDiscussionCollector.svelte6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/Tools/EpisodeDiscussionCollector.svelte b/src/lib/Tools/EpisodeDiscussionCollector.svelte
index 4c61f3cf..b14c655b 100644
--- a/src/lib/Tools/EpisodeDiscussionCollector.svelte
+++ b/src/lib/Tools/EpisodeDiscussionCollector.svelte
@@ -21,9 +21,9 @@
{#await threads(submission)}
<Skeleton card={false} count={5} height="0.9rem" list />
{:then threads}
- <ul>
+ <ol reversed>
{#each threads
- .filter((thread) => thread.title.includes('[Spoilers]') && thread.title.includes('Episode'))
+ .filter( (thread) => thread.categories.some( (category) => category.name.includes('Release Discussion') ) )
.sort((a, b) => b.createdAt - a.createdAt) as thread}
<li>
<span class="opaque" style="white-space: pre;">
@@ -43,7 +43,7 @@
</a>
</li>
{/each}
- </ul>
+ </ol>
{:catch}
<p>Threads could not be loaded. You might have been rate-limited.</p>
<p>