TinyPortal

Development => Feedback => Bugs/Errors => Topic started by: ZarPrime on April 12, 2010, 09:54:44 PM

Title: [bugtracker] Multiple Posts Shown on FP with Layout Type #4
Post by: ZarPrime on April 12, 2010, 09:54:44 PM
When Layout Type 4 (Picture + Article) is selected and "Use first post
attachment preview as illustration?" is set to "Yes" and the actual post has
more than 1 picture attachment, a post will be shown on the FP for each
attachment.  Example is as follows (at least temporarily available) ...

On my test site -->
http://talesofthehavenexpanse.com/smf2test/index.php

1.  The post "PIX Attachment Test #2" is shown twice because 2 pictures
are attached to the actual Forum post.

2.  Another example, same site.  The post called "Test with Multiple PIX
Attachments" shows 4 posts on the FP, each with a different picture
because 4 pictures were attached to the actual Forum post.  Each post
shown on the FP is the same post, but each one is shown with a different
picture.

In both cases above, only 1 Forum post should be shown on the FP, each
with the "first post attachment" shown.

ZarPrime
Title: Re: [bugtracker] Multiple Posts Shown on FP with Layout Type #4
Post by: bloc on April 21, 2010, 08:07:21 PM
Indeed a tough bug to locate lol, but it seems a "GROUP BY" helped, as the reason was that any topic could match several attachments.

Fixed for TP 1.0 beta5.2