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.
The articles listed by the module duplicate if there are more than one category tag selected. I have fixed this issue by changing the SQL in article_select_nodes
$sql = 'SELECT DISTINCT n.nid, n.title, n.sticky, n.created FROM {node} n INNER JOIN {term_node} tn ON n.nid = tn.nid WHERE tn.tid IN ('. $str_tids .') AND n.status = 1 ORDER BY n.sticky DESC, n.created DESC';
I simply added the DISTINCT to the query to prevent multiples from being selected.
HTH,
E/.
Comments
Comment #1
Boris Mann CreditAttribution: Boris Mann commentedPlease provide a patch next time, and also look for duplicates first.
Duplicate of 28566.