Skip to content

Conversation

zeripath
Copy link
Contributor

@zeripath zeripath commented Feb 7, 2021

Fix #13688

Signed-off-by: Andrew Thornton [email protected]

@jolheiser
Copy link
Member

At some point in a loop right below your changes, there is repoLabel.IsChecked = true which, if I remember correctly, was needed for something to display correctly.

I haven't had a chance to check this patch, but can you confirm it wasn't needed?

@GiteaBot GiteaBot added the lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. label Feb 8, 2021
@zeripath
Copy link
Contributor Author

zeripath commented Feb 8, 2021

At some point in a loop right below your changes, there is repoLabel.IsChecked = true which, if I remember correctly, was needed for something to display correctly.

I haven't had a chance to check this patch, but can you confirm it wasn't needed?

It's still there, line 757:

							repoLabel.IsChecked = true

This will still affect the repoLables passed on line 746, as the signature of GetLabelsByRepoID is:

func GetLabelsByRepoID(repoID int64, sortType string, listOptions ListOptions) ([]*Label, error)

@GiteaBot GiteaBot 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 Feb 9, 2021
@GiteaBot GiteaBot 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 Feb 10, 2021
@zeripath zeripath merged commit 4cffc46 into go-gitea:master Feb 10, 2021
@zeripath zeripath deleted the fix-13688-issue-template-org-labels branch February 10, 2021 17:18
@richmahn
Copy link
Contributor

@zeripath is there a backport to v1.13?

zeripath added a commit to zeripath/gitea that referenced this pull request Feb 11, 2021
@zeripath zeripath added the backport/done All backports for this PR have been created label Feb 11, 2021
6543 pushed a commit that referenced this pull request Feb 13, 2021
Backport #14593

Fix #13688

Signed-off-by: Andrew Thornton <[email protected]>

Co-authored-by: Lunny Xiao <[email protected]>
@go-gitea go-gitea locked and limited conversation to collaborators May 13, 2021
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.

Issue template labels only get applied from default label set and org label set is ignored
6 participants