Year/Month Descendant

ViRulent
ViRulent
Offline
0
name="orderby_search"
value="year_desc"

The thing is... I added DAY value to the released date data... so now I would like to show album search results order by Year/Month/DAY Descendant...

Year/Month is still OK, but Day is random... What file do I have to edit to put Day in descendant order ?

exemple : http://www.disqc.com/component/muscol/?search=albums&view=search&orderby=year_desc&layout=detailed
Responses (2)
  • Accepted Answer

    Thursday, November 10 2011, 10:58 PM - #Permalink
    0
    models/search.php :) just look for the "OrderBy" function
    The reply is currently minimized Show
  • Accepted Answer

    ViRulent
    ViRulent
    Offline
    Thursday, November 10 2011, 11:41 PM - #Permalink
    0
    so I found: $orderby_clause = ' al.year DESC, al.month DESC ' ;

    I added: al.day DESC into it... as simple as that :ohmy: and it worked !

    Thanks a lot
    The reply is currently minimized Show
Your Reply