karthikeya7746 / WolfJobs

A job portal that provides Recruiters with a means to post temporary job openings and Candidates to apply for the jobs without being concerned about permanent associations.
MIT License
0 stars 0 forks source link

Filter by Location Not Working #2

Closed karthikeya7746 closed 2 hours ago

karthikeya7746 commented 3 hours ago

The test case for filtering job listings by location in the Explore component is failing. The expected behavior is that when a user applies a filter for a specific location (e.g., "Raleigh"), job listings not matching that location should be hidden. However, the current implementation does not seem to filter out any jobs based on location.

Steps to Reproduce: Render the Explore component. Click on the "Filters" button to open the filters modal. In the location filter input, enter "Raleigh". Click the "Apply Filters" button.

Expected Behavior: The job listing for "Software Engineer" (location: Cary) and "Data Analyst" (location: Durham) should not be displayed after applying the "Raleigh" filter.

Actual Behavior: Both job listings are still displayed after applying the filter.

karthikeya7746 commented 2 hours ago

There was a typo in Fixes #2 the location filter is not working. The location filter is working perfectly