I have a lightning component in community builder that shows a list view of Ideas. I want to link to the custom detail page/component when the title is clicked. I tried using "window.location.href = '/ideadetails';" in my js controller but for some reason that's taking me to the new idea screen (another custom lightning component).
There is another component that I use for users to submit new ideas, but even removing that component from the list view page doesn't resolve the issue.
I did read only that window.location is not supported in lightning so my question is how should I direct the user to the actual detail page?