Skip to content

Commit

Permalink
Merge pull request #70 from jlchassaing/patch-1
Browse files Browse the repository at this point in the history
Update eztagscloud.php
  • Loading branch information
emodric committed May 15, 2014
2 parents 240d8ac + 8958d62 commit 26275ce
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion autoloads/eztagscloud.php
Original file line number Diff line number Diff line change
Expand Up @@ -97,14 +97,15 @@ function modify( $tpl, $operatorName, $operatorParameters, &$rootNamespace, &$cu
$languageFilter .= 'AND ' . eZContentLanguage::languagesSQLFilter( 'ezcontentobject_attribute', 'language_id' );

$rs = $db->arrayQuery( "SELECT eztags.id, eztags.keyword, count(eztags.keyword) AS keyword_count
FROM eztags $sqlPermissionChecking[from], eztags_attribute_link
FROM eztags , eztags_attribute_link
LEFT JOIN ezcontentobject_attribute
ON eztags_attribute_link.objectattribute_id = ezcontentobject_attribute.id
AND eztags_attribute_link.objectattribute_version = ezcontentobject_attribute.version
LEFT JOIN ezcontentobject
ON ezcontentobject_attribute.contentobject_id = ezcontentobject.id
LEFT JOIN ezcontentobject_tree
ON ezcontentobject_attribute.contentobject_id = ezcontentobject_tree.contentobject_id
$sqlPermissionChecking[from]
WHERE eztags.id = eztags_attribute_link.keyword_id
AND ezcontentobject.status = " . eZContentObject::STATUS_PUBLISHED . "
AND ezcontentobject_attribute.version = ezcontentobject.current_version
Expand Down

0 comments on commit 26275ce

Please sign in to comment.