Skip to content
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

Use correct tab value for repo search #27753

Closed

Conversation

earl-warren
Copy link
Contributor

(cherry picked from commit 477c4ca47725796064c4cbc90c9ee07b4b780b3b)

- Use the correct tab value for repo search by letting the templates
pass the right value.
- Resolves https://codeberg.org/forgejo/forgejo/issues/1516

(cherry picked from commit 477c4ca47725796064c4cbc90c9ee07b4b780b3b)
@GiteaBot GiteaBot added the lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. label Oct 23, 2023
@pull-request-size pull-request-size bot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Oct 23, 2023
@github-actions github-actions bot added the modifies/templates This PR modifies the template files label Oct 23, 2023
@@ -31,7 +31,7 @@
{{else if eq .TabName "overview"}}
<div id="readme_profile" class="markup">{{.ProfileReadme | Str2html}}</div>
{{else}}
{{template "explore/repo_search" .}}
{{template "explore/repo_search" (dict "ctxData" . "tab" "repositories")}}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

At least, one is wrong.

image

@puni9869
Copy link
Member

@earl-warren Could you share the after and before screenshots if applicable?

@earl-warren
Copy link
Contributor Author

Closing in favor of #27755

@go-gitea go-gitea locked as resolved and limited conversation to collaborators Jan 23, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. modifies/templates This PR modifies the template files size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants