Skip to content

Filtering search results by language is broken #2577

@adamwoodnz

Description

@adamwoodnz

Steps to reproduce:

  1. Navigate to an archive, eg. https://learn.wordpress.org/courses/?new-theme=1
  2. Enter a search term that you can see in the title or excerpt of one of the cards, eg. 'friendly' exists in the excerpt of the Beginner WordPress User course
  3. Submit the results and you should land at https://learn.wordpress.org/?s=friendly&post_type=course with results.
  4. Filter the results by language. At present Italian is the only option.

Expected: No results as all the courses from the search are in english

Actual: The same result set as without the filter

With search, no language With search, and language
Image Image

Note that filtering all courses by language without a search does work: https://learn.wordpress.org/?language%5B%5D=it_IT&post_type=course

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    [Component] JetpackIssues involving the Jetpack plugin[Type] BugSomething isn't working on the Learn website.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status

    ⚠ On Hold/Blocked

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions