Sorting by "Hot" shows one day of posts immediately followed by posts from 7 months ago followed by posts in no particular order

Sorting by "New" shows 2 days of posts until you reach the "Load More" button which then loads posts from 7 months ago followed by repeats of the most recent posts and then posts in no particular order

Sorting by "Top" seemingly works until you click the "Load More" button and then all the posts are disordered thereafter.

"Top - Day" only works until there are enough posts to require the "Load More" button then loads posts from 7 months ago followed by repeats and then disordered posts

"Top - Week" breaks at load more, shows 7 month old posts, repeats then goes unsorted

"Top - Month" same, and "Top - Year" same.

Additionally:

Setting a sorting order is not saved between sessions. Neither is setting sort order on subs or in user settings respected. Sort order always defaults to "Hot" either on refresh or in next session.

Load more doesn't seem to break sort order in Subchannels however I've only tested /s/startrek so that may not hold true.

Edited 8 months ago

Comments (8)

Want to leave a comment?

Sort by: Top
2
Cicero

noted

reply permalink report gild save
2
Cicero

OK I think I get it.

Posts have a value called "hotness". It's basically total score divided by time, standard reddit-like algorithm.

I made it so that hotness is automatically set to 0 after 48 hours.

So the query builder is looking to sort by hotness. But once it runs out of posts with hotness, it just returns old ass posts because the default sort is by ID and these posts are some of the first posts on mainchan.

That might be it.

Also

>Setting a sorting order is not saved between sessions. Neither is setting sort order on subs or in user settings respected. Sort order always defaults to "Hot" either on refresh or in next session.

This isn't a bug. Subchans decide what the default order is of posts/comments. I haven't implemented anything to store user sort order. Maybe I will at some later point

reply permalink report gild save
1
NecroSocial

Excellent work on the front page fix, all the sort orders work as expected now. Many thanks your efforts are much appreciated.

>Subchans decide what the default order is of posts/comments.

Default Comment Sort in Subchan Settings still doesn't work. For instance I set it to "New" in all my subs and they still sort as Hot.

reply permalink report gild save
1
Cicero

>Default Comment Sort in Subchan Settings still doesn't work. For instance I set it to "New" in all my subs and they still sort as Hot.

I can't recreate this. Are you sure?

reply permalink report gild save
1
NecroSocial

Disregard. I'm retarded. This whole time I thought that setting controlled the default POST sorting order. Comment sorting inside of posts respects settings. The post order just doesn't persist still. My bad for the goose chase.

reply permalink report gild save
1
Cicero

No worries! Let me know if you find any more bugs

reply permalink report gild save
1
Cicero

hmm weird i'll take a look. Thanks!

reply permalink report gild save
2
Cicero

Ok I believe this is now fixed. Let me know if you get any more bugs. Appreciate it!

reply permalink report gild save