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
..
2018-08-31 00:19:58 +10:00
2018-10-05 15:08:36 +01:00
2018-07-09 16:09:20 +10:00
2018-07-09 16:09:20 +10:00
2018-08-31 00:19:58 +10:00
2018-09-29 02:14:40 +01:00
2018-10-12 11:48:56 +01:00
2018-08-31 00:19:58 +10:00
2018-07-09 16:09:20 +10:00
2018-10-25 16:13:43 +01:00
2018-07-09 16:09:20 +10:00
2018-07-12 09:45:37 +01:00
2018-10-24 17:18:08 +01:00
2018-07-09 16:09:20 +10:00
2018-09-12 00:50:39 +01:00
2018-07-09 16:09:20 +10:00
2018-07-09 16:09:20 +10:00
2018-07-10 17:58:18 +01:00
2018-07-09 16:09:20 +10:00