function tripal_views_views_pre_view
2.x tripal_views.views.inc | tripal_views_views_pre_view(&$view, &$display_id, &$args) |
1.x tripal_views.views.inc | tripal_views_views_pre_view(&$view, &$display_id, &$args) |
Implementation of hook_views_pre_view().
Merge the $_GET and $_POST into the $_GET. This is because Views and Views Data Export modules only uses the $_GET variable but file uploads require $_POST. We need to make sure these two modules have access to everything needed for this view to work properly.
Related topics
File
- tripal_views/
tripal_views.views.inc, line 623 - Tripal Views Integration
Code
function tripal_views_views_pre_view(&$view, &$display_id, &$args) {
$_GET = array_merge($_GET, $_POST);
}