Skip to content

Commit

Permalink
[BUGFIX] ADWD-1780 Fix facetted browsing
Browse files Browse the repository at this point in the history
  • Loading branch information
ipf committed Jul 13, 2015
1 parent 1f8346d commit 6febe39
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 84 deletions.
6 changes: 5 additions & 1 deletion Classes/Utility/FrontendUtility.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,12 @@ public static function addQueryInformationAsJavaScript($query, $position = NULL,
$scriptTag = GeneralUtility::makeInstance(TagBuilder::class, 'script');
$scriptTag->addAttribute('type', 'text/javascript');

if (array_key_exists('underlyingQuery', $arguments)) {
$arguments = $arguments['underlyingQuery'];
}

$underlyingQuery = ['q' => $query];
if (!empty($arguments['facet'])) {
if (array_key_exists('facet', $arguments)) {
$underlyingQuery['facet'] = $arguments['facet'];
}
if ($position !== NULL) {
Expand Down
1 change: 0 additions & 1 deletion Templates/Search/Data.html

This file was deleted.

80 changes: 0 additions & 80 deletions Templates/Search/Detail.html

This file was deleted.

1 change: 0 additions & 1 deletion Templates/Search/Index.html

This file was deleted.

1 change: 0 additions & 1 deletion Templates/Search/Suggest.html

This file was deleted.

0 comments on commit 6febe39

Please sign in to comment.
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy