0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-04 03:22:26 +01:00
gitea/routers
CaiCandong 940f997512
Fix label filter between all and no (#26557)
Regression of https://github.com/go-gitea/gitea/pull/25886.
# Description 
For `labelIDs`:

9afcb0e046/routers/web/repo/issue.go (L171-L174)
 - `nil` mean no filter
 - `[0]` mean `no label` filter

When `selectLabels == "0"`, labelIDs should be `[0]` rather than `nil`
 # Before:
 


https://github.com/go-gitea/gitea/assets/50507092/3dac5075-6da0-4769-ba20-48a56f4063c0


#  After:


https://github.com/go-gitea/gitea/assets/50507092/ff79fd4c-b02e-4dfb-9309-ae7851f4dcdb

Co-authored-by: Giteabot <teabot@gitea.io>
2023-08-17 13:19:24 +00:00
..
api Add API route to list org secrets (#26485) 2023-08-15 14:32:43 +02:00
common
install Handle base64 decoding correctly to avoid panic (#26483) 2023-08-14 10:30:16 +00:00
private
utils
web Fix label filter between all and no (#26557) 2023-08-17 13:19:24 +00:00
init.go Pre-register OAuth2 applications for git credential helpers (#26291) 2023-08-09 14:24:07 +02:00