jd0991 / wordpress-job-manager

Automatically exported from code.google.com/p/wordpress-job-manager
0 stars 0 forks source link

jobman-list-applications does not link to listed applications (but to jobs instead) #605

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Create a new job
2. Apply for it
3. Go to [site]/wp-admin/admin.php?page=jobman-list-applications
4. Click on the application

What is the expected output? What do you see instead?

I expect to see the application details.  Instead I see the job details.

What version of Job Manager are you using? 0.7.20

What version of WordPress are you using? 3.9

Please provide any additional information below.

The one-line fix for the problem is, for admin-applications.php line 419,

REPLACE:

$parentstr[] = "<a 
href='?page=jobman-list-jobs&amp;jobman-jobid=$data->ID'>$data->ID - 
$data->post_title</a>";

WITH:

$parentstr[] = "<a 
href='?page=jobman-list-applications&amp;appid=$app->ID'>$data->ID - 
$data->post_title</a>";

Original issue reported on code.google.com by vwdo...@gmail.com on 5 May 2014 at 4:59