How can I change the sort order in the job/applications view that is included with job search module.
The default is to sort ascending by date so oldest are at the top.
I want to make it default to descending so newest are at the top.
thanks
How can I change the sort order in the job/applications view that is included with job search module.
The default is to sort ascending by date so oldest are at the top.
I want to make it default to descending so newest are at the top.
thanks
Comments
Comment #1
pydubreucq commentedHi,
I use the 6.x version, but the need is the same.
I think it could be a great enhancement, because a recruiter will have a lot of job.
I think the newest job must be the first by default.
If you can't add sort function, I think it's beter to put the newest job in first.
Thanks @goldoak jp
Bye
Comment #2
goldoak jp commentedThe asc sort makes sense if the recruiter is clearing out apps as they are processed.
In my case, however, the HR person wants to keep apps on file for longer, so she'd prefer a desc sort.
Thanks
Comment #3
goldoak jp commentedI suppose the correct way is to create a theme function override, but I finally fixed it by changing the "job_get_list" function in the job.module file.
In the function is the "ORDER by" part of the query - I changed it to read:
ORDER by j.timestamp DESC";
I'm closing the issue.