Files
Gogs/models
Rob Richards aaadc61ee8 models/repo: allow SearchRepos to return private but accessible repositories (#4273)
* models/repo.go SearchRepositoryByName()
Updated function to return public and private repositories that the logged in user has been given rights to view
issue #3088

* models/repo.go SearchRepositoryName
changed repository table alias to 'repo'
removed debug line

* models/repo.go SearchRepositoryByName
modified UserID search query to use the "access" table instead of team_repo, team_user etc

* models/repo.go SearchRepositoryByName
1) uppercased SQL keywords
2) removed alias for ACCESS table
2017-03-13 00:37:12 -04:00
..
2017-02-27 22:48:18 -05:00
2017-02-10 16:51:09 -05:00
2017-03-09 04:11:23 -05:00
2016-08-31 01:22:41 -07:00
2016-08-16 07:45:06 -07:00
2017-02-22 06:59:45 -05:00
2017-03-09 04:11:23 -05:00
2014-04-13 03:14:43 -04:00
2016-08-12 02:56:50 -07:00
2017-02-27 22:48:19 -05:00
2017-03-11 18:41:32 -05:00
2016-12-22 19:58:30 -05:00
2017-03-12 01:59:48 -05:00