itdoxy-lab/models
Lunny Xiao 7a9a5c8a69 Fix assigned issues dashboard (#920)
* Fix assigned/created issues in dashboard. (#3560)

* Fix assigned/created issues in dashboard.

* Use GetUserIssueStats for getting all Dashboard stats.

* Use gofmt to format the file properly.

* Replace &Issue{} with new(Issue).

* Check if user has access to given repository.

* Remove unnecessary filtering of issues.

* Return 404 error if invalid repository is given.

* Use correct number of issues in paginater.

* fix issues on dashboard
2017-02-14 22:15:18 +08:00
..
fixtures
migrations
access.go
access_test.go
action.go
action_test.go
admin.go
admin_test.go
attachment.go
consistency_test.go
error.go
git_diff.go
git_diff_test.go
graph.go
graph_test.go
issue.go Fix assigned issues dashboard (#920) 2017-02-14 22:15:18 +08:00
issue_comment.go
issue_indexer.go
issue_label.go
issue_label_test.go
issue_mail.go
issue_milestone.go
issue_milestone_test.go
issue_user.go
issue_user_test.go
lfs.go
login_source.go
mail.go
models.go
models_sqlite.go
models_test.go
models_tidb.go
notification.go
notification_test.go
org.go Small optimization for getTeamIDs (#919) 2017-02-14 11:46:46 +08:00
org_team.go
org_test.go
pull.go
pull_test.go
release.go
repo.go
repo_branch.go
repo_collaboration.go
repo_editor.go
repo_mirror.go
repo_redirect.go
repo_test.go
repo_unit.go
setup_for_test.go
ssh_key.go
ssh_key_test.go
star.go
star_test.go
token.go
token_test.go
twofactor.go
unit.go
update.go
update_test.go
user.go
user_mail.go
user_mail_test.go
user_test.go
webhook.go
webhook_slack.go
webhook_test.go
wiki.go
wiki_test.go