[TYPO3-mvc] Ajax call shows hidden and deleted records

Dirk Wenzel wenzel at webfox03.de
Sun Dec 22 17:35:51 CET 2013


Hi all,
I got an Ajax action which is being called from frontend and routed 
through an dispatcher.
Even though I use the same methods for the query as in other non-ajax 
actions my repository returns hidden and deleted records (which it 
shouldn't).

I guess the setRespectEnableFields-Settings are not available if not in 
Frontend context.

So how can I detect whether we are in Frontend context and adjust my 
query accordingly?

Thanks in advance
Dirk


More information about the TYPO3-project-typo3v4mvc mailing list