1
1
mirror of https://github.com/go-gitea/gitea synced 2025-01-27 01:54:34 +00:00
6543 cd7fa15d1d
Prevent multiple listings of organization when creating a repository (#11303) (#11325)
Backport #11303 

Prevent multiple listings of organization when creating a repository (#11303)

prevent double entries in results of GetOrgsCanCreateRepoByUserID

I first try to only add GroupBy directly but xorm return broken user objects ...

... solution was to just query related UserIDs(OrgIDs) first and return OrgUsers based on this IDs

close #11258

Co-authored-by: zeripath <art27@cantab.net>
2020-05-07 21:30:51 +01:00
..
2020-02-28 00:12:23 -03:00
2019-08-23 12:40:29 -04:00
2017-05-04 13:54:56 +08:00
2019-09-24 21:22:39 +08:00
2019-12-27 20:30:58 +00:00
2019-12-27 20:30:58 +00:00
2019-12-15 16:57:34 -05:00
2019-10-17 11:26:49 +02:00
2019-12-15 11:06:31 +00:00
2019-12-15 11:06:31 +00:00
2019-10-17 11:26:49 +02:00
2019-06-12 15:41:28 -04:00
2019-08-23 12:40:29 -04:00
2019-06-12 15:41:28 -04:00
2018-10-20 18:19:21 -04:00