Skip to content

Commit

Permalink
Remove heading check, this is not part of the framework
Browse files Browse the repository at this point in the history
  • Loading branch information
zuuperman committed Sep 16, 2013
1 parent 02b5036 commit 108bc6f
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions culturefeed_search_ui/includes/helpers.inc
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 108bc6f

Please sign in to comment.