-
Notifications
You must be signed in to change notification settings - Fork 343
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Homepage showing 'All' posts when 'Local' is selected #1053
Comments
Update: Apparently this only happens when in user settings, 'Type' is set to 'All' |
Tried it on lemmy.ml and it doesn't have your issue however when I select "All" for "Type" in Settings it shows me the "Local" tab by default on the homepage and it's filtered properly |
Verified. Might be a while until I can get to this one. |
I think this is already fixed and will be released with v0.18, although I can't verify it (having trouble running the latest main locally). In v0.17 there was a weak conditional operator that erroneously handled the setting 'show All posts' (value myLt // will be 0 if the user has selected 'All' in their settings
? Object.values(ListingType)[myLt]
: defaultListingType; This code was refactored a few weeks ago and the error should no longer occur. See home.tsx#L115. Will test once 0.18 is released/fully working. |
I have 0.17.3 installed. (https://lemmy.world)
When I login, I am redirected to the homepage. It shows 'Local' posts are selected, but I see 'All' posts.
When I click 'All' and then back to 'Local' , it does show Local posts only.
Also when going back from another page, like Communities, to the homepage I see this behaviour.
I don't see it when not logged in.
The text was updated successfully, but these errors were encountered: