function support_pm_apachesolr_update_index in Support Ticketing System 6
Implementation of hook_apachesolr_update_index().
File
- support_pm/
support_pm.module, line 1065 - Support Project Management. @author Jeremy Andrews <jeremy@tag1consulting.com> @package Support
Code
function support_pm_apachesolr_update_index(&$document, $node) {
if (!isset($node->project->projid)) {
$document->is_support_project = 0;
}
else {
$document->is_support_project = (int) $node->project->projid;
}
}