Download & Extend

"Latest Articles" Should be Unique

Project:Article
Version:master
Component:Code
Category:feature request
Priority:normal
Assigned:msameer
Status:closed (fixed)

Issue Summary

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.

Comments

#1

Status:active» needs review

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

AttachmentSize
article_2.patch 892 bytes

#2

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

#3

Version:4.6.x-1.x-dev» master
Assigned to:Anonymous» 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 ?)

#4

Status:active» fixed

#5

Status:fixed» closed (fixed)