Simplenews Drafts Lists Incorrectly

Case number:1100-1
Project:Public Display
Opened by:somebody
Status:Open
Assigned:somebody
Priority:1-High
Type:General Task
Opened on:Thursday, August 30, 2007 - 2:28pm
Last modified:Thursday, August 30, 2007 - 2:28pm

With TAC/OG Integration, the simplenews drafts folder at Newsletters->Drafts (/admin/content/newsletters/notsent) does not list correctly:

Newsletter Drafts Listing Error

I seem to have resolved this problem by adding "DISTINCT" to the $action == 'notsent' $query in simplenews_admin_news(). This fixes the problem:

Newsletter Drafts Listing

Creating patch for the fix and submitting it to Simplenews issues:

Documented internally here:

 

 

AttachmentSize
og_user_roles.simplenews.module.patch925 bytes