Changeset 12542


Ignore:
Timestamp:
Nov 4, 2011, 6:23:06 PM (9 years ago)
Author:
Gotcha
Message:

RSS compatible with Piwigo v2.3
(Subcategory not yet)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/piclens/generate_rss.php

    r12399 r12542  
    4242        $thumb_secure = array('', '&thumb=1', '');  // correspondant a 1-->'miniature' et 2-->'normal'
    4343        $normal_secure = array('', '&thumb=1', '', '&highdef=1');       // correspondant a 1-->'miniature' et 2-->'normal' et 3 --> High
    44         $order_list = array('', $conf['order_by_inside_category'], 'ORDER BY date_creation', 'ORDER BY date_available', 'ORDER BY average_rate', 'ORDER BY hit', 'ORDER BY file', 'ORDER BY id', 'ORDER BY RAND()', 'ORDER BY category_id', 'ORDER BY category_id, rank ');     
     44        $order_list = array('', $conf['order_by_inside_category'], 'ORDER BY date_creation', 'ORDER BY date_available', 'ORDER BY rating_score', 'ORDER BY hit', 'ORDER BY file', 'ORDER BY id', 'ORDER BY RAND()', 'ORDER BY category_id', 'ORDER BY category_id, rank ');     
    4545        $order_sort = array('', '', ' ASC', ' DESC');
    4646
     
    158158                                                        'AND'
    159159                                                )
    160                                         .' ORDER BY average_rate DESC, id ASC'
     160                                        .' ORDER BY rating_score DESC, id ASC'
    161161                                        .' LIMIT 0, '.$conf['top_number'].';';
    162162                }
Note: See TracChangeset for help on using the changeset viewer.