sujaltangde / JobLane

JobLane - Full Stack Job application portal built using MERN Stack
https://joblane.vercel.app/
43 stars 50 forks source link

[Bug]:The search jobs is not working properly #53

Open Rohitha-pudu opened 1 month ago

Rohitha-pudu commented 1 month ago

the search jobs has a small issue ,when typing the name of the job and deleting the letter and retyping ,is showing not found even though it is there here i am typing for software engineer and i mistakenly typed softwaree image now when i delete the e and continue typing software engineer,it is showing not found image

sujaltangde commented 1 month ago

Hey, @Rohitha-pudu, I have assigned you this issue, you can start work on it, the issue persist here https://github.com/sujaltangde/JobLane/blob/main/client/src/pages/Jobs.jsx in the logic of searchArr function of useEffect, try changing the filter logic from jobs array to baseJobs array(you need to create the baseJobs state which stores the baseJobs when fetched). Try this approach or do as you want.

parthiv011 commented 1 month ago

Hi @sujaltangde can you assign me this issue I can work on this. This job searching should be implemented in backend also with frontend side it wont work properly. I can add a new controller in jobs controller which will allow user to search the job.

Also the project has no details on how to setup also can add this.