Skip to content

advancedSearch bug #930

@alizaga

Description

@alizaga

The advancedSearch function in common-utils.js doesn't work as I expect.

If I want to search this description Multiple status values can be provided with comma separated strings of this operation Finds Pets by status it doesn't work.

I suppose that is caused by this code of advancedSearch function:

...
if (searchOptions.includes('search-api-descr')) {
  stringToSearch = `${stringToSearch} ${path.summary || path.description || ''}`;
}
...

As you can see if path.summary is not null the path.description is ignored.

Could you add a button that enables searching only in path.description (ignoring path.summray) or could you change this behaviour to take both of them in the search?

Thank you in advance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions