Skip to content

BUG: Search over digits ot working #3954

Open
@Oper18

Description

@Oper18

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    supportTo track support requests

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions