Closed (fixed)
Project:
Article
Version:
master
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
9 Aug 2005 at 23:58 UTC
Updated:
10 Oct 2007 at 21:21 UTC
Jump to comment: Most recent file
If you assign an article to more than one term, it may appear multiple times in the "Latest Articles" box. I'm requesting that you modify the code to prevent this from happening. Each article should only appear once in the Latest Articles box, regardless of how many terms it may be assigned to.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | article_2.patch | 892 bytes | cowdinosaur |
Comments
Comment #1
cowdinosaur commentedI've created a patch that will execute an SQL query that will return only distinct nodes. I was working against drupal 4.6.3
Comment #2
boris mann commentedI believe the maintainer only has intermittent Internet access. This needs to be updated in CVS by someone and/or the maintainership changed.
Comment #3
msameer commentedI've applied the patch to the CVS version.
I'm not closing this as I need to replace article_select_nodes() by a drupal API call. I'm also not sure whether DISTINCT is MySQL specific or not (PostgreSQL ?)
Comment #4
msameer commentedComment #5
(not verified) commented