[bug] Duplicate entries in plugin recententries

Found a bug? Tell us!!
Post Reply
deminy
Regular
Posts: 28
Joined: Mon Oct 10, 2005 6:17 am
Contact:

[bug] Duplicate entries in plugin recententries

Post by deminy »

Serendipity's version: 1.0 beta 1
Plugin: serendipity_plugin_recententries
version: 1.4

Problem: If a recent entry is set to belong to 2 categories, that entry will be shown twice in the "recent entries" slidebar.
judebert
Regular
Posts: 2478
Joined: Sat Oct 15, 2005 6:57 am
Location: Orlando, FL
Contact:

Post by judebert »

Hmmm. I just installed the same thing on my 1.0-alpha2 blog. It claims to be version 1.4. No duplicate entries, even though most of my stuff is under multiple categories.

What options did you pick in the plugin configuration? Did you pick multiple categories to show? When I do that, I do get multiple entries.

Well, that explains it, then. I modified the plugin so line 149 reads "SELECT DISTINCT id" instead of just "SELECT id".

I just updated the plugin in the repository. It should be available for upgrading in 24 hours or so.
Judebert
---
Website | Wishlist | PayPal
deminy
Regular
Posts: 28
Joined: Mon Oct 10, 2005 6:17 am
Contact:

Post by deminy »

I also use plugin "startcat" (hide certain category from start page).

I guess using this "startcat" event plugin with the "recent entries" sidebar plugin could cause the problem. Just a guess.

Following what you said above, the problem is solved in my blog. Thanks.
Post Reply