MetaCubeX / MetaCubeX/Meta-Docs
Search result click redirects to homepage instead of expected page
Nobody has claimed this yet.
- Dominant language
- No language data
- Stars
- 197
- Forks
- 140
- Avg merge
- 6d 11h
- Merged PRs (30d)
- 8
Description
When using search on a ru/en page and clicking a search result that links to a page in Chinese, it redirects to the homepage instead of the expected page.
Steps I took:
- Went to https://wiki.metacubex.one/ru/config/
- Typed
smuxin the search - The first result in the list was a page in Chinese
- Left-clicked on it
As a result, I was redirected to https://wiki.metacubex.one/config/ instead of https://wiki.metacubex.one/config/proxies/?h=smux, which is where the searched term actually appears.
However, if I right-click the search result and choose "Open Link in New Tab", it opens correctly.
Additionally, if feasible, I'd like to suggest that search results be sorted based on the currently selected page language, so that the page in the current language always appears first. That is, if ru is selected, the page in Russian should always be shown first in the search results!
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the search from https://wiki.metacubex.one/ru/config/ with smux, comparing left-click behavior with “Open Link in New Tab.” Trace how the result navigates to /config/ versus /config/proxies/?h=smux; done means a normal click opens the expected result, with language ordering addressed if it is part of the fix.
Written by the indexing model from the issue text.
Assessment
- Domain
- documentation
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 58/100