• Sean McGivern's avatar
    Add a flag to use a subquery for group issues search · 7fd5dbf9
    Sean McGivern authored
    We already had a flag to use a CTE, but this broke searching in some
    cases where we need to sort by a joined table. Disabling the CTE flag
    makes searches much slower.
    
    The new flag, to use a subquery, makes them slightly slower than the
    CTE, while maintaining correctness. If both it and the CTE flag are
    enabled, the subquery takes precedence.
    7fd5dbf9