Hi everyone,
I successfully installed Recruiter 7.x-1.1 and began to apply some security updates (namely drupal core, context, ctools an entity_api), everything looked good so far then I updated search_api and search_api_db (this one was a RC version and a stable one existed).
Here's the first problem I met so far : the total number of jobs is not visible on Applicant's front page, the first block only says "jobs available" (without any figure) while the top 5 block says "Top 5 of 5 total jobs." while there are 14 jobs on my site.
Apparently, the issue (for the first block) comes from the following function in recruiter_job_search.module file :
function recruiter_job_search_total_count() {
// Avoid filter for exposed filters.
$get = $_GET;
$_GET = array();
$_GET['q'] = isset($get['q']) ? $get['q'] : '';
$view = views_get_view('job_search');
$view->set_display('default');
$view->execute();
$_GET = $get;
//dpm($view); => using devel we see that $view->total_rows is NULL
return $view->total_rows;
}
Assuming that the last versions of search_api and search_api_db didn't retrieve a NULL value for $view->total_rows on purpose (but being totally unaware of how these module work) I'm guessing the problem might be on Recruiter's side. Maybe it was a bad idea to update contributed modules in the first place ? What do you think ? Did anyone meet this behavior before ?
Thanks for your help