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-09-07 02:58:18 +10:00
2018-08-10 23:54:09 +10:00
2018-08-13 16:47:46 +10:00
2018-10-24 10:39:03 +01:00
2018-08-10 23:54:09 +10:00
2018-09-25 03:10:01 +10:00
2018-09-07 02:58:18 +10:00
2018-10-24 10:02:41 +01:00
2018-08-13 16:47:46 +10:00
2018-08-10 23:54:09 +10:00
2018-08-10 23:54:09 +10:00
2018-08-10 23:54:09 +10:00
2018-09-07 02:58:18 +10:00
2018-09-14 15:08:37 +01:00
2018-08-10 23:54:09 +10:00
2018-09-07 02:58:18 +10:00
2018-08-10 23:54:09 +10:00
2018-08-28 17:21:05 +01:00