Skip to content

[Bug] Color-Based Search Negates Text-Based Search #313

Description

@davmillar

Bug Description

When attempting to search, the site attempts to find themes that use a particular color when the search term matches a known color value. While this can be cool, it breaks the functionality for text-based search.

For example, searching for "orange" returns 0 results, because no themes on the site have the CSS named color "orange" as part of their definition. However, multiple themes have the word "orange" in their title, such as Orange Juice.

Workaround

Luckily, it appears wrapping the text in double quotes allows searching for the word instead of the color.

Preferred Fix

Ideally, when searching for a named color, the results should include matches for the color within themes as well as in the theme title.

Alternate Fix

Instead, change the "Try clearing search?" link in the "No Results Found" screen to "Search in title/description?" when the search query matches a named color.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions