Open Source Content Management Framework

mgd_list_topic_articles_all

  1. mgd_list_topic_articles_all

    Fri April 09 2010 08:59:02 UTC

    Hi,

    I have a problem with the "mgd_list_topic_articles_all" function of Midgard. We have several articles which are currently sorted by score. When they do have the same score, they are sorted by name (seems to be the second sorting criterium).

    How could I change the second sorting criterium to "created"?

    In other words: I want the lists of articles to be sorted by score. And if a score of two articles is the same, they should be sorted by their date/time created.

    We currently use it like this:

    $articles = mgd_list_topic_articles_all($stadtteil, "score", 44);

    How could I change it?

    Best regards, Tom

    •  Reply
Designed by Nemein, hosted by Kafit