function oa_core_views_pre_build in Open Atrium Core 7.2
Implements hook_views_pre_build().
File
- ./
oa_core.module, line 755
Code
function oa_core_views_pre_build(&$view) {
if ($view->name == 'oa_recent_activity') {
// Set the override path to the current page. This will redirect the back view to
// the current page when submitted in case AJAX fails.
$view->override_path = $_GET['q'];
}
}