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.

CommentFileSizeAuthor
#1 article_2.patch892 bytescowdinosaur

Comments

cowdinosaur’s picture

Status: Active » Needs review
StatusFileSize
new892 bytes

I've created a patch that will execute an SQL query that will return only distinct nodes. I was working against drupal 4.6.3

boris mann’s picture

I believe the maintainer only has intermittent Internet access. This needs to be updated in CVS by someone and/or the maintainership changed.

msameer’s picture

Version: 4.6.x-1.x-dev » master
Assigned: Unassigned » msameer
Status: Needs review » Active

I'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 ?)

msameer’s picture

Status: Active » Fixed
Anonymous’s picture

Status: Fixed » Closed (fixed)