[TYPO3-mvc] doktype set in extbase query? How can I change the value?

Stephen Bungert stephenbungert at yahoo.de
Sun Dec 25 16:02:28 CET 2011


Here is the query that extbase creates:

SELECT pages.* FROM pages WHERE pages.uid = '17' AND 
(pages.doktype='Tx_Flickrimages_Domain_Model_Page') AND pages.deleted=0 AND 
pages.t3ver_state<=0 AND pages.pid!=-1 AND pages.hidden=0 AND 
pages.starttime<=1324825020 AND (pages.endtime=0 OR 
pages.endtime>1324825020) AND (pages.fe_group='' OR pages.fe_group IS NULL 
OR pages.fe_group='0' OR FIND_IN_SET('0',pages.fe_group) OR 
FIND_IN_SET('-1',pages.fe_group)) LIMIT 1

It all seems ok, apart from the 
"pages.doktype='Tx_Flickrimages_Domain_Model_Page'" part. This will cause 
all queries to return nothing.

Where is this set? How can I change this?

Thanks for any help.

Stephen. 



More information about the TYPO3-project-typo3v4mvc mailing list