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
..
2016-01-07 04:26:29 +00:00
2018-09-12 20:41:31 +10:00
2018-10-19 10:11:56 +01:00
2018-09-12 20:41:31 +10:00
2018-09-12 20:41:31 +10:00
2018-09-12 20:41:31 +10:00
2018-07-09 16:09:20 +10:00
2018-09-12 20:41:31 +10:00
2018-09-12 20:41:31 +10:00