Improved searches done via the API
What I did
- Improved the way search queries work, so they narrow down when other where clauses are included
- Split out search query creation from application, so implementations can be more flexible
- Allowed search to work across both user and userdata table in conjunction with where clauses.
Implications
Searches no longer expand search results to include items which would now be filtered by other where clauses.
Setup
No setup required.
How to test
Check out us_launch/features/region_groups
and set this branch of Zon Core to test.
- Go to accounts admin area as an AU, US, or NZ admin user.
- Try searching
Results should be filtered to the correct set, as permissible by that account type.