diff --git a/models/db/search.go b/models/db/search.go index fa72959fa5..6e82be6709 100644 --- a/models/db/search.go +++ b/models/db/search.go @@ -32,8 +32,8 @@ const NoConditionID int64 = -1 // AnyConditionID means a condition to filter the records which match any id. // The inverse of the above NoConditionID -// eg: "assignee_id=-2" means "find the issues with an assignee" -const AnyConditionID int64 = -2 +// eg: "assignee_id=-1000001" means "find the issues with an assignee" +const AnyConditionID int64 = -1000001 // NonExistingID means a condition to match no result (eg: a non-existing user) // It doesn't use -1 or -2 because they are used as builtin users. diff --git a/templates/repo/issue/filter_item_user_assign.tmpl b/templates/repo/issue/filter_item_user_assign.tmpl index dd5d96319a..028a0bfca5 100644 --- a/templates/repo/issue/filter_item_user_assign.tmpl +++ b/templates/repo/issue/filter_item_user_assign.tmpl @@ -6,7 +6,7 @@ * TextFilterTitle * TextZeroValue: the text for "all issues" * TextNegativeOne: the text for "issues with no assignee" -* TextNegativeTwo: the text for "issues with any assignee" +* TextAnyCondition: the text for "issues with any assignee" */}} {{$queryLink := .QueryLink}}