mirror of
https://github.com/gitbucket/gitbucket.git
synced 2025-11-10 23:45:50 +01:00
Fix wrong query to find the specified label
This commit is contained in:
@@ -35,7 +35,7 @@ protected[model] trait TemplateComponent { self: Profile =>
|
|||||||
byRepository(userName, repositoryName) && (this.labelId === labelId)
|
byRepository(userName, repositoryName) && (this.labelId === labelId)
|
||||||
|
|
||||||
def byLabel(owner: String, repository: String, labelName: String) =
|
def byLabel(owner: String, repository: String, labelName: String) =
|
||||||
byRepository(userName, repositoryName) && (this.labelName === labelName.bind)
|
byRepository(owner, repository) && (this.labelName === labelName.bind)
|
||||||
}
|
}
|
||||||
|
|
||||||
trait MilestoneTemplate extends BasicTemplate { self: Table[_] =>
|
trait MilestoneTemplate extends BasicTemplate { self: Table[_] =>
|
||||||
|
|||||||
Reference in New Issue
Block a user