Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

After creating an organization we can't search the organization via the organizarion name #116

Open
@codejamtc

Description

@codejamtc
bandicam.2021-08-27.19-50-52-715.mp4
bandicam.2021-08-27.19-51-56-347.mp4

API: {{HOST}}/organizations?name=Wipro E

Steps:

  1. First create an organization Wipro using {{HOST}}/organizations
{
    "id": "ef4a5b9a-a613-4b75-8393-b037d3f065c5",
    "name": "Wipro",
    "createdBy": "TCConAdmin",
    "updated": "2021-08-27T12:32:40.653Z",
    "created": "2021-08-27T12:32:40.653Z",
    "updatedBy": null
}
  1. Then check the organization name via GET {{HOST}}/organizations/{{organizationId}} >> Wipro E
  2. Execute the GET {{HOST}}/organizations?name=Wipro E

Actual:

I am getting only one result; I don't get the Wipro E

Expected:

If we are allowing partial search then we should return Wipro E and Wipro Digital. But if we are allowing exact matches then should return Wipro E only

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions