Skip to content

Commit 3951306

Browse files
author
tuegeb
committed
CHG: SEO-Enhancer integration #55
1 parent a06a7ef commit 3951306

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

FACTFinder/Core/AbstractConfiguration.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,7 @@ public function getWhitelistServerParameters()
222222
'query' => true,
223223
'queryFromSuggest' => true,
224224
'searchField' => true,
225+
'seoPath' => true,
225226
'sid' => true,
226227
'simi' => true,
227228
'title' => true,

FACTFinder/Data/SearchParameters.php

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ class SearchParameters
1212
/**
1313
* @var string
1414
*/
15-
private $query;
15+
private $query;
16+
private $seoPath;
1617
private $channel;
1718
private $advisorStatus;
1819

@@ -43,6 +44,8 @@ public function __construct(
4344
) {
4445
$this->query = isset($parameters['query']) ? $parameters['query'] : '';
4546

47+
$this->seoPath = isset($parameters['seoPath']) ? $parameters['seoPath'] : '';
48+
4649
// Properly prepared server parameters will always have a channel set
4750
$this->channel = $parameters['channel'];
4851

@@ -78,7 +81,13 @@ public function __construct(
7881
}
7982
}
8083

81-
84+
/**
85+
* @return string
86+
*/
87+
public function getSeoPath()
88+
{
89+
return $this->seoPath;
90+
}
8291

8392
/**
8493
* @return string

0 commit comments

Comments
 (0)