Erik Johnston cb53ce9d64
Refactor state group lookup to reduce DB hits (#4011)
Currently when fetching state groups from the data store we make two
hits two the database: once for members and once for non-members (unless
request is filtered to one or the other). This adds needless load to the
datbase, so this PR refactors the lookup to make only a single database
hit.
2018-10-25 17:49:55 +01:00
..
2014-08-12 15:10:52 +01:00
2018-08-10 23:54:09 +10:00
2018-08-28 17:21:05 +01:00
2018-08-23 19:17:19 +01:00
2018-10-02 16:22:39 +01:00