1
0
mirror of https://github.com/meineerde/redmine.git synced 2025-12-30 20:29:37 +00:00
Jean-Baptiste Barth 1914d1a159 Improve performance of Principal.member_of scope
The 'join' turns to be slow for large numbers of members (>20k). Using a
sub-query like in Principal.not_member_of is more efficient and performance
is the same for smaller values.


git-svn-id: http://svn.redmine.org/redmine/trunk@13139 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-05-19 21:17:55 +00:00
..
2014-01-29 22:45:39 +00:00
2014-01-29 22:45:39 +00:00
2014-01-29 22:45:39 +00:00
2014-01-29 22:45:39 +00:00
2014-01-29 22:45:39 +00:00
2014-01-29 22:45:39 +00:00
2014-01-29 22:45:39 +00:00
2014-01-29 22:45:39 +00:00
2014-01-29 22:45:39 +00:00
2014-01-29 22:45:39 +00:00
2014-01-29 22:45:39 +00:00
2014-01-29 22:45:39 +00:00
2014-01-29 22:45:39 +00:00
2014-01-29 22:45:39 +00:00
2014-01-29 22:45:39 +00:00
2014-01-29 22:45:39 +00:00
2014-01-29 22:45:39 +00:00
2014-01-29 22:45:39 +00:00