Description of problem: Wrongly jump to homepage when clicking clear 'Clear Filters' Version-Release number of selected component (if applicable): v3.9.0-0.9.0 How reproducible: Always Steps to Reproduce: 1. login web console, go to overview page and input invalid keyword into the quick search catalog bar in the top-right corner and hit Enter 2. click 'Clear Filters' under the text 'No results match.' 3. Actual results: Wrongly jump to homepage when clicking clear 'Clear Filters' Expected results: Should have the same behavior as the 'Clear All Filters' which will stay the new Catalog page Additional info:
Hi, this PR went in recently to fix this issue: https://github.com/openshift/origin-web-console/pull/2652
Checked on ocp v3.9.0-0.21.0, there is another issue: When filter result is empty, user click "Clear Filters." which is in the center of the page, it directs to "unsafe:javascript:void(0)" as url address. Seems "unsafe:javascript:void(0)" does not work.
> it directs to "unsafe:javascript:void(0)" as url address. > Seems "unsafe:javascript:void(0)" does not work. 'javascript:void(0)' is not supposed to actually do anything, it is a 'null' operation. As long as the filters are cleared, then the link is working.
Fixed via PR: https://github.com/openshift/origin-web-console/pull/2703
Verified on v3.9.0-0.31.0 Both original description and Comment 2 are not reproduced now.