Revision 38753115
Added by Andreas Kohlbecker about 7 years ago
modules/cdm_dataportal/cdm_dataportal.search.php | ||
---|---|---|
558 | 558 |
$form_params['area'] = implode(',', $area_uuids); |
559 | 559 |
} |
560 | 560 |
|
561 |
// Store in session. |
|
562 |
$_SESSION['cdm']['search'] = $form_params; |
|
563 |
|
|
564 |
// ----------- further processing that must not be store in the session --------- // |
|
565 |
|
|
566 | 561 |
// Simple search will not submit a 'tree' query parameter, |
567 | 562 |
// so we add it here from what is stored in the session unless |
568 | 563 |
// SIMPLE_SEARCH_IGNORE_CLASSIFICATION is checked in the settings. |
569 | 564 |
if (!isset($form_params['tree']) && !variable_get(SIMPLE_SEARCH_IGNORE_CLASSIFICATION, 0)) { |
570 | 565 |
$form_params['tree'] = get_current_classification_uuid(); |
571 | 566 |
} |
567 |
// Store in session. |
|
568 |
$_SESSION['cdm']['search'] = $form_params; |
|
569 |
|
|
570 |
// ----------- further processing that must not be store in the session --------- // |
|
571 |
|
|
572 | 572 |
// If the 'NONE' classification has been chosen (advanced search) |
573 | 573 |
// delete the tree information to avoid unknown uuid exceptions in the |
574 | 574 |
// cdm service. |
Also available in: Unified diff
classification search filter was no longer stored in the session