Closed cristianbuj closed 9 years ago
looks good to me ..
@dbu if its fine for you as well, I can merge and tag a new release. I guess this should also be added to the google provider, though I guess that one might need some work anyway?
i think google had a default max results setting with the old dysfunct api. but that code is in LiipSearchBundle. google search api was started to be fixed in https://github.com/liip/LiipSearchBundle/pull/12 (that pr stalled, but actually commits where added 2 weeks ago...)
i think we have been discussing if we can merge this and LiipSearchBundle or otherwise simplify things. a max result configuration would be something that should affect every search provider implementation. but for the time being, i am fine to have this here for now, as it solves a real need. merging the two bundles or other cleanups are very likely to bump us to a version 2.0 anyways.
thanks! can you please fix the formatting and prepare a pull request against the search config reference? http://symfony.com/doc/master/cmf/bundles/search/configuration.html
oh, and if you can squash your commits after the codestyle fix, that would be nice. (do the new commit, then git rebase -i HEAD~3
and if it looks right, git push -f)
@cristianbuj - please do this once you are back from vacation :)
apart from the phpdoc comment, this is ready to merge now. thanks for cleaning up the phpdoc mistakes we had in the controller.
Sorry, I missed it, was added by PhpStorm. It's removed now.
thanks a lot for the contribution!
@dbu do you want to include this change in a 1.1.1 release or was it intended to wait for 1.2.0?
created 1.1.1
doc PR https://github.com/symfony-cmf/symfony-cmf-docs/pull/608