aleph icon indicating copy to clipboard operation
aleph copied to clipboard

BUG: Search over digits ot working

Open Oper18 opened this issue 1 year ago • 0 comments

Describe the bug While I search over the frist_name, last_name, middle_name, I get a couple of results, but if I try to search by phone_numer, inn r ogrn I get an empty list.

To Reproduce Steps to reproduce the behavior:

  1. search by "https://aleph.occrp.org/api/2/entities?offset=0&limit=50&q=%D0%9D%D0%BE%D0%B2%D0%B8%D0%BA%D0%BE%D0%B2+%D0%93%D1%80%D0%B8%D0%B3%D0%BE%D1%80%D0%B8%D0%B9&filter%3Aschemata=Person"
  2. get results and try to find by any digit string from exist result
  3. search by "https://aleph.occrp.org/api/2/entities?q=590700008609&limit=0&offset=0&filter%3Aschemata=Person"
  4. get empty result

Expected behavior While I get a record for first query with choosen inn I expected that for second request I get one or more objects

Aleph version https://aleph.occrp.org

Screenshots

Additional context

Oper18 avatar Oct 28 '24 20:10 Oper18