Merge pull request #91 from Codappix/feature/configure-get

TASK: Allow integrators to use GET with minimal overhead
This commit is contained in:
Daniel Siepmann 2017-10-29 11:16:44 +01:00 committed by GitHub
commit 9f7c5f8ac7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 3 deletions

View file

@ -56,6 +56,12 @@ class SearchController extends ActionController
] ]
)); ));
} }
if ($this->arguments->hasArgument('searchRequest')) {
$this->arguments->getArgument('searchRequest')->getPropertyMappingConfiguration()
->allowAllProperties()
;
}
} }
/** /**

View file

@ -31,9 +31,6 @@ call_user_func(
'search', 'search',
[ [
'Search' => 'search' 'Search' => 'search'
],
[
'Search' => 'search' // TODO: Enable caching. But submitting form results in previous result?!
] ]
); );