Skip to content

Commit 76ac79d

Browse files
authored
Merge pull request #198 from einorler/nested_separator
Changed nested separator
2 parents 5c80a5d + e4501a7 commit 76ac79d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Filter/Widget/Search/MatchSearch.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@ public function modifySearch(Search $search, FilterState $state = null, SearchRe
5555
*/
5656
private function buildMatchPart($field, FilterState $state)
5757
{
58-
if (strpos($field, '+') !== false) {
59-
list ($path, $field) = explode('+', $field);
58+
if (strpos($field, '>') !== false) {
59+
list ($path, $field) = explode('>', $field);
6060
}
6161

6262
if (strpos($field, '^') !== false) {

Tests/Functional/Filter/Widget/Search/MatchSearchTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ public function getFilerManger()
7878

7979
$match = new MatchSearch();
8080
$match->setRequestField('q');
81-
$match->setField('title,description^2,variants+variants.title^3');
81+
$match->setField('title,description^2,variants>variants.title^3');
8282

8383
$container->set('match', $match);
8484

0 commit comments

Comments
 (0)