Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
TagCloud should count nodes with appropriate user rights..
// Based on https://api.drupal.org/api/drupal/modules%21comment%21comment.module/function/comment_get_recent/7
$query->innerJoin('node', 'n', 'tn.nid = n.nid');
$query->addTag('node_access');
Comment | File | Size | Author |
---|---|---|---|
#6 | tagclouds-2137603-5.patch | 773 bytes | Snehal Brahmbhatt |
Comments
Comment #1
foxfabi CreditAttribution: foxfabi commentedComment #2
giuvax CreditAttribution: giuvax commentedI need this feature too. Is this patch to be committed in the next module version?
Comment #3
MGParisi CreditAttribution: MGParisi commentedI no longer have access to a test environment. I'll see what I can do. Any help would be appreciated.
Comment #4
Chris Matthews CreditAttribution: Chris Matthews commentedThe patch in #1 no longer applies to the latest 7.x-1.x development snapshot, needs reroll.
Comment #5
Pranali.addweb CreditAttribution: Pranali.addweb at AddWeb Solution Pvt. Ltd. commentedComment #6
Snehal Brahmbhatt CreditAttribution: Snehal Brahmbhatt at AddWeb Solution Pvt. Ltd. commented@Chris2, Please find my updated patch, I created it as per your mentioned latest comment. Hope this clear all issues.
Thanks!...
Comment #8
Chris Matthews CreditAttribution: Chris Matthews commentedThe test failed in #7, but it does apply cleanly on the command line:
Comment #9
andrey.troeglazov CreditAttribution: andrey.troeglazov at DrupalJedi commentedComment #11
andrey.troeglazov CreditAttribution: andrey.troeglazov at DrupalJedi commented