aboutsummaryrefslogtreecommitdiffstats
path: root/models/db
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2023-04-30 21:12:49 +0800
committerGitHub <noreply@github.com>2023-04-30 09:12:49 -0400
commit3f0651d4d61d62a16e1bb672056014ab02db5746 (patch)
tree035e1fd9edf7383b0abad6e89c2db4cd2b8a2355 /models/db
parente3750370df3be1413b1526668cbee60dc2a39f03 (diff)
downloadgitea-3f0651d4d61d62a16e1bb672056014ab02db5746.tar.gz
gitea-3f0651d4d61d62a16e1bb672056014ab02db5746.zip
Improve milestone filter on issues page (#22423)
Now we have `All milestones`, `No milestones`, `Open milestones` and `Closed milestones`. Fix #11924 Fix #22411 <img width="1166" alt="image" src="https://user-images.githubusercontent.com/81045/212243375-95eea035-a972-44b8-8088-53db614cb07e.png">
Diffstat (limited to 'models/db')
-rw-r--r--models/db/search.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/db/search.go b/models/db/search.go
index 26e082756a..105cb64c41 100644
--- a/models/db/search.go
+++ b/models/db/search.go
@@ -31,5 +31,5 @@ const (
const (
// Which means a condition to filter the records which don't match any id.
// It's different from zero which means the condition could be ignored.
- NoneID = -1
+ NoConditionID = -1
)