[REF] start unravelling the way we retrieve the saved search
authorEileen McNaughton <emcnaughton@wikimedia.org>
Mon, 26 Jul 2021 01:56:41 +0000 (13:56 +1200)
committerEileen McNaughton <emcnaughton@wikimedia.org>
Mon, 26 Jul 2021 04:09:47 +0000 (16:09 +1200)
commitd96f7984ff41c1ba9ef8b7e061ac3d82405c8af5
tree39354ca54419e2cedf1528512b1eb489ea0b4b1f
parent4ca50effca68f238fbbf2db39045b14ea53915cf
[REF] start unravelling the way we retrieve the saved search

We have 3 types of saved searches
- search kit
- legacy core searches
- legacy custom searches

The only information these 3 need to load is the savedSearch details and
the group ID (to add in the add & exclude). The wrangling of the params should
happen in the getSql functions - which we can think about being in a listener once
they have standard inputs & outputs. However, to get to that point
we want to standardise those inputs & outputs. This removes
only point of randomness - ie savedSearch has a consistent value & the wrangling
of what is in it is pushed closer to the relevant functions
CRM/Contact/BAO/GroupContactCache.php