[TYPO3-mvc] custom query including the hidden Elements
Jonas Götze
jonnsn at gmail.com
Tue May 18 16:48:52 CEST 2010
Hi list,
I am writing a custom query where I am trying to find _all_ (undeleted)
elements of a table, whether they are hidden or not.
If I search by UID (which has hidden = 1) for example
$query->matching(
$query->equals('uid',3)
);
I get no result.
So I tried something like the following
$query->matching(
$query->logicalAnd(
$query->like('hidden', '%'),
$query->equals('uid',3)
)
);
which wont work too.
I also tried various variants like
hidden equals 1
or something similiar but I can't seem to get the hidden elements.
Is it impossible using the custom query?
Regards
Jonas
More information about the TYPO3-project-typo3v4mvc
mailing list