[TYPO3-mvc] Adding new constraints to existing constraints in widget query
Torsten Schrade
schradt at uni-mainz.de
Fri Aug 1 16:18:55 CEST 2014
Hi list,
I have a custom widget that gets the original query with
$this->objects->getQuery(), adds some constraints with
$query->matching() and executes it. So far so good. But what if the
original query already contained some constraints? Those would be
overriden by my widget. Therefore I would like to append, not to
replace my constraints to the original query. Code snippets and/or
suggestions on how to achieve this would be very welcome. Thanks a lot
and cheers,
Torsten
More information about the TYPO3-project-typo3v4mvc
mailing list