Skip to content

Bug: filter by language is not working. #240

@DivyanshuVortex

Description

@DivyanshuVortex

The filter is not working as expected.
When selecting or searching for different languages, the results don’t change correctly —

  • c++ shows 60,174 repositories
  • cpp shows 2,405 repositories
  • Any other language also shows 60,176 repositories (same as c++)

Here are 3 screenshots showing the issue:

  • Page with “c++” Image

  • Page with “cpp” Image

  • Text typed in the web address Image

It looks like when the entered language doesn’t exactly match the options, the filter defaults to showing all Hacktoberfest repositories.
This might be happening because the filter option uses “c++” while the query uses “cpp”, causing a mismatch.

Please assign this issue to me — I’ll investigate and fix the problem.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions