-
Notifications
You must be signed in to change notification settings - Fork 360
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 advanced search breadcrumb #4283
Fix advanced search breadcrumb #4283
Conversation
@ThoWagen, I don't object to changing the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One other suggestion: it's probably worth adding a Mink test to cover this. I think we already have a test about editing advanced searches, so it's likely just a matter of adding a new assertion to the existing test. (I can help find it if you're not sure where it is, though hopefully it's not too hard to find).
Thanks @demiankatz! I'm not very familiar with the search memory. But since you don't see any concerns here I just switched from 'edit' to 'sid'. Note that 'edit' is still supported and there is a comment including the 'legacy' keyword for now. I also added a Mink test case. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, @ThoWagen -- see below for a couple more thoughts, but I think this overall approach should work.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, @ThoWagen!
We realized that the breadcrumb in advanced searches does not include a link back to the search anymore.
Here is a quick fix, but I'm not sure if this is the best way to do it and if there are unwanted side effects. So I created this as a draft and as a starting point for a discussion.
Should we maybe instead call the query parameter for advanced searches
sid
instead ofedit
?