mirror of
https://github.com/go-gitea/gitea
synced 2025-07-23 10:48:37 +00:00
* Fix repository issues pagination bug when there are more than one label filter (#9512) * fix merge
This commit is contained in:
@@ -239,6 +239,14 @@ func NewFuncMap() []template.FuncMap {
|
||||
"MirrorFullAddress": mirror_service.AddressNoCredentials,
|
||||
"MirrorUserName": mirror_service.Username,
|
||||
"MirrorPassword": mirror_service.Password,
|
||||
"contain": func(s []int64, id int64) bool {
|
||||
for i := 0; i < len(s); i++ {
|
||||
if s[i] == id {
|
||||
return true
|
||||
}
|
||||
}
|
||||
return false
|
||||
},
|
||||
}}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user