-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Allow both fullname and username search when DEFAULT_SHOW_FULL_NAME
is true
#23463
Conversation
Is it possible to have a Then:
|
Currently logic for |
Does something like |
Yes i found it works. I misunderstood the search input box structure before, let me add a function to return this from backend. |
Added a commit to use GetSearchNameHTML instead of passing contexts, and this PR is ready for review again. |
d3b581f
to
3f8e447
Compare
resolved |
🎺 🤖 |
* giteaofficial/main: Use `<nav>` instead of `<div>` in the global navbar (go-gitea#23125) Fix aria.js bugs: incorrect role element problem, mobile focus problem, tippy problem (go-gitea#23450) [skip ci] Updated translations via Crowdin Make time tooltips interactive (go-gitea#23526) Update mini-css-extract-plugin, remove postcss (go-gitea#23520) Fix review comment context menu clipped bug (go-gitea#23523) Add absent repounits to create/edit repo API (go-gitea#23500) Fix tags sort by creation time (descending) on branch/tag dropdowns (go-gitea#23491) Allow both fullname and username search when `DEFAULT_SHOW_FULL_NAME` is true (go-gitea#23463) Handle files starting with colons in WalkGitLog (go-gitea#22935) Change `Close` to either `Close issue` or `Close pull request` (go-gitea#23506) Update act (go-gitea#23512) Move pidfile creation from setting to web cmd package (go-gitea#23285)
This PR adds the ability to search both fullname and username for assignees, reviewers and author search boxes when the config
DEFAULT_SHOW_FULL_NAME
inapp.ini
is set totrue
. Which is originally raised hereAnd if
DEFAULT_SHOW_FULL_NAME
is set tofalse
(default value), these search boxes will only show username.Example:
When
DEFAULT_SHOW_FULL_NAME = true
When
DEFAULT_SHOW_FULL_NAME = false
(default value)The specific search boxes that adapts these changes include: