Page MenuHomePhabricator

Search donation records
Closed, ResolvedPublic1 Estimated Story Points

Description

Acceptance Criteria

  • There is a route, controller and use case in the code for search requests.
  • The donation records are provided to it by a data source interface implementation.

Event Timeline

kai.nissen changed the point value for this task from 8 to 1.

Please provide the endpoint URL to test with.

Restfox API example, you'll have to put in the cookie and formToken value from a current session

Thanks, @gabriel-wmde, I just had a look and have some questions:

  • The substring search for "Donald" only returns results when passing "Don", not when passing "onal" or "nald". Is that intended?
  • Currently, the endpoint expects the respective parameter names. Will that be changed during a later implementation step?

@kai.nissen

The substring search for "Donald" only returns results when passing "Don", not when passing "onal" or "nald". Is that intended?

yes, that is intended. The search currently only looks for matches at the beginning of words
"Da" will find "Dagobert" but not "Ada",
"mail.com" will not find "gmail.com".