Skip to content

Improved searches done via the API

Sam Sehnert requested to merge features/model_search into custom/art_money

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.

  1. Go to accounts admin area as an AU, US, or NZ admin user.
  2. Try searching

Results should be filtered to the correct set, as permissible by that account type.

Task: https://preview.gotasman.com/task/detail/41811

Merge request reports