[FEATURE] Expand db function searchQuery to handle AND and OR constraints
authorNicole Cordes <nicole@cordes.co>
Thu, 22 Nov 2012 16:34:59 +0000 (17:34 +0100)
committerJigal van Hemert <jigal@xs4all.nl>
Sun, 2 Dec 2012 13:40:52 +0000 (14:40 +0100)
commit3759059d481b332f33fb6c1210f5d56c489f9c2e
treec773c0b713e9b879c9f1a5469f62406c07ae3533
parent59dc8fbf6057d9c746d5dfb67af9c4a53cbdcdee
[FEATURE] Expand db function searchQuery to handle AND and OR constraints

The database function searchQuery can build queries for multiple search
words. But those words are expected to be all in the field. Sometimes it
is useful to use an OR constraint. So this function should be extended to
have another parameter to do so.

Change-Id: Ie2d83d5875ce5de6680a4a45b43995be4b48debc
Resolves: #43234
Releases: 6.1
Reviewed-on: http://review.typo3.org/16686
Reviewed-by: Jigal van Hemert
Tested-by: Jigal van Hemert
typo3/sysext/core/Classes/Database/DatabaseConnection.php
typo3/sysext/core/Tests/Unit/Database/DatabaseConnectionTest.php