Not signed in (Sign In)

Vanilla 1.1.10 is a product of Lussumo. More Information: Documentation, Community Support.

    • CommentAuthorSark
    • CommentTimeAug 4th 2006
     
    Hi Guys

    I am trying to modify the way my COLLECTIONS sort/order. After a search i found out that with the following code i can sort/order them by alphabetical order ascending or descending:

    $sql = "SELECT * FROM `".$TABLE_PREFIX."collections` WHERE id IN ($imlist) LIMIT ".$from.",".$config["thumb_num"];

    Change to:

    $sql = "SELECT * FROM `".$TABLE_PREFIX."collections` WHERE id IN ($imlist) ORDER BY `name` DESC LIMIT ".$from.",".$config["thumb_num"];

    This works perfectly fine, but i want to be able to sort on LAST CHANGED COLLECTION. Is this possible to do or is that currently impossible ? I hope some one can help me out here ;)

    Thnx in advance
    • CommentAuthormiri
    • CommentTimeAug 18th 2006
     
    I would like to do the same thing, but I'm not seeing any date columns in the collection table, so I don't think the app is tracking changes to collections. Shame.