Hi,
From: "Henri Bergius" <[EMAIL PROTECTED]>
> On 6 Mar, Paul Newby wrote:
> > It seems that function mgd_list_topic_articles()
> > only lists articles under a specified topic when
> > the 'up' field is set to 0. This extra condition
> > isn't specified in the documentation. Can
> > anyone comment on the reason for this?
> > Seems more reasonable that it should list
> > articles with a common topic independent
> > of any other condition.
>
> Hmm... another thing to add to the docs.
>
> Anyway, the 'up' field is used to note articles
> that are attached as replies to other articles.
> That is why those won't show up in topic listings.
>
> If you want to list the reply articles as
> well, use tmgd_list_reply_articles().
>
Could it be possible to add a function that lists *all* articles within a
given topic ?
This could be faster to search for a string in all the messages of a forum,
for example...
Otherway, we have to recurse all the reply_article tree, and I don't think
this is very optimized for a PHP search engine.
best regards,
[EMAIL PROTECTED]
--
This is The Midgard Project's mailing list. For more information,
please visit the project's web site at http://www.midgard-project.org
To unsubscribe the list, send an empty email message to address
[EMAIL PROTECTED]