Merge pull request #676 from albig/fix-675
Fix wrong table in where clause
This commit is contained in:
commit
d513ec0302
|
@ -133,7 +133,7 @@ class DocumentTypeFunctionProvider implements ExpressionFunctionProviderInterfac
|
|||
->from('tx_dlf_documents')
|
||||
->where(
|
||||
$queryBuilder->expr()->eq('tx_dlf_documents.record_id', $queryBuilder->expr()->literal($piVars['recordId'])),
|
||||
Helper::whereExpression('tx_documents')
|
||||
Helper::whereExpression('tx_dlf_documents')
|
||||
)
|
||||
->setMaxResults(1)
|
||||
->execute();
|
||||
|
|
Loading…
Reference in New Issue