function biblio_filter_clear in Bibliography Module 7
Same name and namespace in other branches
- 5 biblio.module \biblio_filter_clear()
- 6.2 biblio.module \biblio_filter_clear()
- 6 biblio.module \biblio_filter_clear()
- 7.2 biblio.module \biblio_filter_clear()
1 string reference to 'biblio_filter_clear'
- biblio_menu in ./
biblio.module - Implements hook_menu().
File
- ./
biblio.module, line 1115 - Bibliography Module for Drupal.
Code
function biblio_filter_clear() {
$options = array();
$_SESSION['biblio_filter'] = array();
$base = variable_get('biblio_base', 'biblio');
if (isset($_GET['sort'])) {
$options['sort'] = $_GET['sort'];
}
if (isset($_GET['order'])) {
$options['order'] = $_GET['order'];
}
drupal_goto($base, $options);
}