Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added aprroved job filter to insure only approved jobs are displayed #493

Closed
wants to merge 1 commit into from

Conversation

vatan45
Copy link
Contributor

@vatan45 vatan45 commented Oct 10, 2024

issue:- #486

Pull Request: Filter Jobs by Approved Status

Summary

This PR introduces a filter to display only approved jobs in the AllJobs component. By adding an approved: true parameter to the job search functionality, we ensure that only vetted job listings are shown to users. This helps maintain quality control over the job board and ensures job seekers are presented with verified opportunities.

Changes Implemented:

  • Modified the searchParams object in the AllJobs component to include approved: true
  • Passed the updated searchParams object to the getAllJobs function
  • Ensured that only jobs marked as approved in the database are fetched and displayed

Benefits:

  • Enhanced quality control by showing only approved job listings
  • Improved user experience by preventing unapproved or low-quality jobs from appearing

Testing:

  • Verified that only jobs with approved: true are displayed on the job board
  • Confirmed that non-approved jobs are filtered out from search results

Checklist:

  • Code compiles and runs correctly

@vatan45
Copy link
Contributor Author

vatan45 commented Oct 10, 2024

@VineeTagarwaL-code review please

@nolostra
Copy link
Contributor

sir , please check who the PR is assigned before starting randomly working on it

@vatan45
Copy link
Contributor Author

vatan45 commented Oct 14, 2024

@VineeTagarwaL-code review please

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants