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

Fix to 3819 - Filtering issues by tags on main screen issues #3824

Merged
merged 5 commits into from
Oct 28, 2018

Conversation

rvillablanca
Copy link
Contributor

@rvillablanca rvillablanca commented Apr 20, 2018

This PR solves the issue #3819 where you can't filter issues by pressing on the tags.

Because there is a Default label set, there are many tags with same color and name like bug, but they have differents id so when you filter by pressing in one tag, you are filtering only for one repo.

Maybe this could be improved with another PR.

@codecov-io
Copy link

codecov-io commented Apr 20, 2018

Codecov Report

Merging #3824 into master will increase coverage by <.01%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #3824      +/-   ##
==========================================
+ Coverage    37.5%   37.51%   +<.01%     
==========================================
  Files         309      309              
  Lines       45798    45800       +2     
==========================================
+ Hits        17176    17181       +5     
+ Misses      26159    26158       -1     
+ Partials     2463     2461       -2
Impacted Files Coverage Δ
routers/user/home.go 42.31% <100%> (+0.33%) ⬆️
models/repo_indexer.go 52.11% <0%> (+1.27%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 8a9e44d...0631f90. Read the comment docs.

@bkcsoft bkcsoft added the lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. label Apr 20, 2018
@techknowlogick
Copy link
Member

Just commenting here with issue ID so GitHub links them: #3819

@lunny lunny added the type/bug label Apr 21, 2018
@lunny lunny added this to the 1.5.0 milestone May 4, 2018
@@ -249,6 +249,10 @@ func Issues(ctx *context.Context) {

opts.Page = page
opts.PageSize = setting.UI.IssuePagingNum

selectLabels := ctx.Query("labels")
opts.Labels = selectLabels
Copy link
Member

Choose a reason for hiding this comment

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

Replace this with:

opts.Labels = ctx.Query("labels")

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@JonasFranzDEV done!

@techknowlogick techknowlogick modified the milestones: 1.5.0, 1.6.0 May 27, 2018
@rvillablanca
Copy link
Contributor Author

rvillablanca commented May 29, 2018

I don't understand why Drone generates errors when compiling. I have updated the branch but It seems Drone couldn't get updated sources.
Ref commit: 7243ed9

@techknowlogick Can you help me ?

@techknowlogick
Copy link
Member

@rvillablanca This is an issue with Github where sometimes it caches old information. Let me re-trigger drone and likely the updated information will be loaded.

@rvillablanca rvillablanca deleted the 3819-issues-filtering branch August 7, 2018 03:25
@rvillablanca rvillablanca restored the 3819-issues-filtering branch October 18, 2018 22:18
@rvillablanca rvillablanca reopened this Oct 18, 2018
@lafriks
Copy link
Member

lafriks commented Oct 19, 2018

@JonasFranzDEV need your approval

@naiba
Copy link
Contributor

naiba commented Oct 28, 2018

@JonasFranzDEV @lunny @lafriks Hi, Can you merge this PR? can't wait for #5131

@bkcsoft bkcsoft added lgtm/need 1 This PR needs approval from one additional maintainer to be merged. and removed lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. labels Oct 28, 2018
@techknowlogick techknowlogick modified the milestones: 1.6.0, 1.7.0 Oct 28, 2018
@techknowlogick
Copy link
Member

@naiba This needs two successful approvals before it can be merged.

@naiba
Copy link
Contributor

naiba commented Oct 28, 2018

@techknowlogick thank you, but when does the bot release 1.6.0?

@lunny
Copy link
Member

lunny commented Oct 28, 2018

@JonasFranzDEV need your approval.

@bkcsoft bkcsoft added lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. and removed lgtm/need 1 This PR needs approval from one additional maintainer to be merged. labels Oct 28, 2018
@jonasfranz jonasfranz merged commit 48badd5 into go-gitea:master Oct 28, 2018
@techknowlogick
Copy link
Member

@rvillablanca thanks for the PR. Would you be able to backport this commit to the release/v1.6 branch? If you need any assistance or clarification please let me know and I'd be happy to help.

@rvillablanca
Copy link
Contributor Author

@techknowlogick I have created a PR #5219 for this purpose 👍

@rvillablanca rvillablanca deleted the 3819-issues-filtering branch October 29, 2018 17:44
@techknowlogick techknowlogick added backport/done All backports for this PR have been created and removed backport/v1.6 labels Oct 29, 2018
@lunny
Copy link
Member

lunny commented Oct 30, 2018

@techknowlogick I think we should keep the backport label even if this is merged.

@techknowlogick
Copy link
Member

@lunny ok.

@go-gitea go-gitea locked and limited conversation to collaborators Nov 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
backport/done All backports for this PR have been created lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. type/bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

8 participants