Project:Job Search
Version:6.x-1.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

I've tested Job Search, patched as per http://drupal.org/node/391774#comment-1777452.

It might happen that a user applies to a job, than cancels the application in a hurry since something was forgotten.
In that case, however, it becomes impossible for the user to apply again, after fixing whatever needed to be fixed, since the system will say "you already applied for this job" even after cancellation.

I believe the condition should be reset if the cancellation originates by the original applicant, so that a new application can be made at a later time if needed. Alternatively, or in addition, a confirmation page would really be useful during the job application process.

Comments

#1

I was able to fix this by changing the job_check function in job.module:

OLD:

return db_result(db_query("SELECT COUNT(*) FROM {job} WHERE nid = %d AND uid = %d" , $nid, $uid));

NEW:

return db_result(db_query("SELECT COUNT(*) FROM {job} WHERE nid = %d AND uid = %d AND status=1" , $nid, $uid));

#2

How can you even cancel? I don't see anything like that enabled in the views.

#3

NateM, I think this is done by the Job Seeker role going to: My account > Jobs Applied For > View job postings and then clicking on "Clear" under the Operations tab next to the application they wish to cancel.

If this is correct then I would like to be able to change the text "Clear" to "Withdraw application" but I cannot find where these default views provided are located for me to be able to make the changes. They do not appear in to be accessible via the Views UI.

I am currently having a problem with the Job Seeker role being able to "Clear" an application due to a permissions error. I will update my thread about this issue if I can find a solution.

#4

Thanks for the tip.

To recreate this in views, what I did was clone the default views for my_applications, and then in the clone, added the fields for the job node id, as well as a global custom text, with the label "Cancel Application", changed to output as a link, with a link path of job/clear/[nid]/1

Now that I found this clear button, I definitely agree that when someone cancels their application, they should be able to re-apply. Can we get this implemented into the core function for this module?

#5

Thanks, that helped me re-create the Operations column with Clear function.

Do you get an Access denied error if you are signed in with the Job Seeker role and try to cancel an application?

I have tried messing with the permission settings and the only one that allows me to be able to clear an application is 'Manage job applications', but this is the wrong permission as it allows the job seekers to see all applications made by other seekers.

Can you help me out with what permission to set for this to work correctly?

Thanks pal.

#6

The above code from RyanJLind does not work for me.

The link to "Apply for this job" does re-appear, even if previously the Job has been applied for and then cleared from Jobs Applied For. But when a job seeker clicks on it their application does not get processed.

Instead a message appears in a green box at the top saying: You already applied for this position.

I'm wondering if the ability to "Clear" an application is actually meant to cancel it or just remove it from view?.

kbhayey can you confirm the intended function of "Clear" in these 2 views?

Thanks.

#7

Personally I'd be inclined to fix the Clear function to actually remove the application from the database unless someone can clarify the purpose of holding on to it.

#8

I think the "clear" link it's OK. A seeker maybe don't want that applicant, so the applicant doesn't have to see that the seeker doesn't want him.

But a "rejected applicant's" group would be great. The seeker may want to re-admit an applicant.

PD: Sorry, my english it's not very good.

#9

I think the language should be clarified in addition to adding an actual clearing. It seems that the current "clear" link actually rejects the application, since the applicant is not able to re-apply. My suggestion would be that the current functionality be kept but renamed as "reject", with a "clear" function added that actually removes the database record, allowing the applicant to re-apply later if desired.

We would then have two status options:
1 = submitted
0 = rejected

Do we need any other options?

#10

Did anyone hit a solutions to this problem?

nobody click here