Quicksearch no longer jumps to aliased bug
Categories
(bugzilla.mozilla.org :: Search, defect, P2)
Tracking
()
People
(Reporter: kats, Unassigned)
References
(Regression)
Details
(Keywords: regression)
It used to be that going to e.g. https://bugzilla.mozilla.org/buglist.cgi?quicksearch=dynamic-toolbar would redirect you straight to bug 716403 (which has the alias "dynamic-toolbar"). This no longer works; instead it takes you to a search results page which lists nothing, because that bug is resolved and the search only searches unresolved bugs. Even if you try going to an unresolved aliased bug, like https://bugzilla.mozilla.org/buglist.cgi?quicksearch=wr-68 it will just display the single result instead of redirecting you to the bug.
I have a keyword bookmark for this URL which is pretty broken as a result of this.
Updated•5 years ago
|
Comment 1•5 years ago
•
|
||
This did come up in review. I think we could reasonably detect a quicksearch vs. a bookmarked case.
In the interim, replacing /buglist.cgi?quicksearch=ALIAS
with /show_bug.cgi?id=ALIAS
would work.
Comment 2•5 years ago
|
||
Yeah, you don’t have to use quick search to visit a bug with the alias.
https://bugzilla.mozilla.org/show_bug.cgi?id=dynamic-toolbar
https://bugzilla.mozilla.org/show_bug.cgi?id=wr-68
We can’t detect if the requests are from bookmarks, unfortunately.
Comment 3•5 years ago
|
||
We could add a hidden param to the quicksearch form on every page, however.
Reporter | ||
Comment 4•5 years ago
|
||
I can use show_bug.cgi, but now I need two bookmarks (one for searching and one for jumping to bugs) whereas before I just needed one which did The Right Thing always :/
Comment 5•5 years ago
|
||
well, let me see about a little patch can make both use cases work.
Comment 6•5 years ago
•
|
||
People could bookmark URLs with the hidden param, so it probably won’t work. To be honest, I’d like to remove quick search.
Reporter | ||
Comment 7•5 years ago
|
||
Also: the https://bugzil.la/ URL shortener relied on this same functionality. That is, going to https://bugzil.la/dynamic-toolbar would jump you to the aliased bug but now it goes to a search result listing with no results. I'm pretty sure links like these are littered around the web and are now broken.
Comment 8•5 years ago
|
||
kats is in the top 10 for performing searches, so I'm inclined to at least try out a solution.
Comment 9•5 years ago
•
|
||
bugzil.la not owned nor managed by Mozilla so we cannot guarantee it always works.
Updated•5 years ago
|
Comment 10•5 years ago
|
||
Do we want to go to disambiguation page if we hit an alias?
Updated•5 years ago
|
Updated•5 years ago
|
Comment 11•5 years ago
|
||
This has already been solved by backing out my PR for Bug 1527053. I’ll fix the other bug by adding a hidden param like redirect_alias=0
to the quick search form.
Description
•