Skip to content
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

Fix for issue #57 #60

Open
wants to merge 7 commits into
base: develop
Choose a base branch
from
Open

Fix for issue #57 #60

wants to merge 7 commits into from

Conversation

Conrad2134
Copy link

This fixes issue #57 Can't filter for "Hot". The issue was basically that, when navigating to a subreddit, the id getting passed into the .Navigate(...) method was always "funnyHotWeek" (assuming you're navigating to /r/funny). If you had switched the default sort type in your settings (to "new" in this case), the panel would behave as if it was "funnyNewWeek". When you would then go to change the sort to "hot", the .Navigate(...) method would think that you're trying to go from "funnyHotWeek" to "funnyHotWeek" and it would basically do nothing, if that makes sense.

There might be a cleaner way to do it. There's probably not really a need to pass in the sort arguments in both of those places that were changed, since they would end up as the default anyway, so I can always reverse that if need be.

I merged master into the develop branch. I can always reverse that merge to separate just my changes if that works better.

Let me know! Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants