Support » Plugin: Media Category Library » Problem with sorting (orderby date)

  • Hi,

    [mediacat cats=”cat1″ orderby=”date” order=”DESC”]
    [mediacat cats=”cat1″ orderby=”post_date” order=”DESC”]

    This code should sort all listed files by date, but there’s a little problem. It returns something like that:

    file1 — categoryno1 — 02/01/2013
    file2 — categoryno1 — 01/01/2013

    file3 — categoryno2 — 02/01/2013 (!!!)

    Template is simple:
    Return files sorted by date but in category1no1,
    Return files sortedy by date but in categoryno2,

    By categoryno1 I mean simple category of media file (not the category specified by medialibrary).

    Why is it happen ?
    Somebody could give me a solution how to change that ? In my opinion the results should be sorted by date but in absolute way like that:

    file1 — categoryno1 — 02/01/2013
    file3 — categoryno2 — 02/01/2013
    file2 — categoryno1 — 01/01/2013

  • The topic ‘Problem with sorting (orderby date)’ is closed to new replies.