diff options
author | Unknown <joe2010xtmf@163.com> | 2014-05-07 20:36:00 -0400 |
---|---|---|
committer | Unknown <joe2010xtmf@163.com> | 2014-05-07 20:36:00 -0400 |
commit | 495d939ca580825c4a91612e38107ecc4339598a (patch) | |
tree | c24702996f29f5e39a2c0e87433837d9b3fe26c0 /models | |
parent | 7d89e765ab499bb861d83e5e2a3fb1d1ee11cd75 (diff) | |
download | gitea-495d939ca580825c4a91612e38107ecc4339598a.tar.gz gitea-495d939ca580825c4a91612e38107ecc4339598a.zip |
Waiting for UI
Diffstat (limited to 'models')
-rw-r--r-- | models/issue.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/models/issue.go b/models/issue.go index f052730059..14faa5b31f 100644 --- a/models/issue.go +++ b/models/issue.go @@ -128,6 +128,8 @@ func GetIssues(uid, rid, pid, mid int64, page int, isClosed bool, labels, sortTy sess.Desc("num_comments") case "leastcomment": sess.Asc("num_comments") + case "priority": + sess.Desc("priority") default: sess.Desc("created") } |