Fix some collection queries
This commit is contained in:
parent
37cca6309b
commit
d3f8ddc136
|
@ -1375,7 +1375,7 @@ final class tx_dlf_document {
|
|||
$result = $GLOBALS['TYPO3_DB']->exec_SELECTquery(
|
||||
'tx_dlf_collections.index_name AS index_name,tx_dlf_collections.uid AS uid',
|
||||
'tx_dlf_collections',
|
||||
'tx_dlf_collections.pid='.intval($pid).' AND tx_dlf_collections.cruser_id='.intval($be_user).' AND tx_dlf_collections.fe_cruser_id=0'.tx_dlf_helper::whereClause('tx_dlf_collections').' AND tx_dlf_collections.sys_language_uid IN (-1,0)',
|
||||
'tx_dlf_collections.pid='.intval($pid).' AND tx_dlf_collections.sys_language_uid IN (-1,0)'.tx_dlf_helper::whereClause('tx_dlf_collections'),
|
||||
'',
|
||||
'',
|
||||
''
|
||||
|
|
|
@ -62,7 +62,7 @@ class tx_dlf_modIndexing extends tx_dlf_module {
|
|||
$_collections = $GLOBALS['TYPO3_DB']->exec_SELECTquery(
|
||||
'tx_dlf_collections.label AS label,tx_dlf_collections.uid AS uid',
|
||||
'tx_dlf_collections',
|
||||
'tx_dlf_collections.fe_cruser_id=0 AND tx_dlf_collections.pid='.intval($this->id).tx_dlf_helper::whereClause('tx_dlf_collections').' AND tx_dlf_collections.sys_language_uid IN (-1,0)',
|
||||
'tx_dlf_collections.fe_cruser_id=0 AND tx_dlf_collections.pid='.intval($this->id).' AND tx_dlf_collections.sys_language_uid IN (-1,0)'.tx_dlf_helper::whereClause('tx_dlf_collections'),
|
||||
'',
|
||||
'tx_dlf_collections.label ASC',
|
||||
''
|
||||
|
|
Loading…
Reference in New Issue