============================================================== Add "cnt_update" field -------------------------------------------------------------- pcsite/lib/entry/classes/CTable_entry.class.php -------------------------------------------------------------- // [BEGIN] 2021-11-13 cnt_update $fdx['cnt_update'] = array( "label"=>"cnt_update", "db"=>"timestamp", "list-key"=>array( "sr-list", ), ); // [END] 2021-11-13 cnt_update ============================================================== Setup the order -------------------------------------------------------------- pcsite/guest-area/main/pages/tpls/tpl.home.class.php -------------------------------------------------------------- // [BEGIN] 2011-11-13 Order entries by the last vote time // (old) $this->prt->dt->setup( 1, -1, "cnt!DESC,entry_id!DESC" ); //$this->prt->dt->setup( 1, -1, "cnt!DESC,entry_id!DESC" ); $this->prt->dt->setup( 1, -1, "cnt!DESC,cnt_update!ASC" ); // [END] 2011-11-13 Order entries by the last vote time ==============================================================