Revision f48cede0
Added by Andreas Kohlbecker almost 8 years ago
modules/cdm_dataportal/cdm_dataportal.search.php | ||
---|---|---|
465 | 465 |
* the processed request parameters submitted by the search form and |
466 | 466 |
* also stores them in $_SESSION['cdm']['search'] |
467 | 467 |
*/ |
468 |
function cdm_dataportal_search_form_request() { |
|
468 |
function cdm_dataportal_search_form_request() |
|
469 |
{ |
|
469 | 470 |
|
470 | 471 |
$form_params = array(); |
471 | 472 |
|
... | ... | |
483 | 484 |
// Split of geographic range. |
484 | 485 |
unset($form_params['areas']); |
485 | 486 |
|
486 |
$area_filter_preset = explode(',', variable_get(CDM_SEARCH_AREA_FILTER_PRESET, '')); |
|
487 |
if (variable_get(CDM_SEARCH_AREA_FILTER_PRESET, '')) { |
|
488 |
$area_filter_preset = explode(',', variable_get(CDM_SEARCH_AREA_FILTER_PRESET, '')); |
|
489 |
} |
|
487 | 490 |
|
488 | 491 |
if($area_filter_preset){ |
489 | 492 |
$area_uuids = $area_filter_preset; |
Also available in: Unified diff
bugfix for area filter preset