mirror of
https://github.com/Codappix/search_core.git
synced 2024-11-22 11:16:11 +01:00
Merge pull request #91 from Codappix/feature/configure-get
TASK: Allow integrators to use GET with minimal overhead
This commit is contained in:
commit
9f7c5f8ac7
2 changed files with 6 additions and 3 deletions
|
@ -56,6 +56,12 @@ class SearchController extends ActionController
|
|||
]
|
||||
));
|
||||
}
|
||||
|
||||
if ($this->arguments->hasArgument('searchRequest')) {
|
||||
$this->arguments->getArgument('searchRequest')->getPropertyMappingConfiguration()
|
||||
->allowAllProperties()
|
||||
;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -31,9 +31,6 @@ call_user_func(
|
|||
'search',
|
||||
[
|
||||
'Search' => 'search'
|
||||
],
|
||||
[
|
||||
'Search' => 'search' // TODO: Enable caching. But submitting form results in previous result?!
|
||||
]
|
||||
);
|
||||
|
||||
|
|
Loading…
Reference in a new issue