diff --git a/culturefeed_search_ui/includes/helpers.inc b/culturefeed_search_ui/includes/helpers.inc index bfe62464..20cb2fe0 100644 --- a/culturefeed_search_ui/includes/helpers.inc +++ b/culturefeed_search_ui/includes/helpers.inc @@ -159,15 +159,6 @@ function culturefeed_search_ui_redirect_cnapi_urls() { return; } - // Heading is now facet on category id. - if (isset($_GET['heading'])) { - - /*$result = db_query('SELECT did, tid FROM {culturefeed_search_terms} WHERE tid IN(:tid)', array(':tid' => explode(';', $_GET['heading']))); - foreach ($result as $row) { - $new_query['facet']['category_' . $row->did . '_id'][] = $row->tid; - }*/ - } - // Regio is now location. if (isset($_GET['regio'])) { $region = db_query('SELECT name FROM {culturefeed_search_terms} WHERE tid = :tid', array(':tid' => 'reg.' . $_GET['regio']))->fetchField();