2017-12-11, 08:43 PM
2017-12-11, 08:57 PM
My guess is that you have to change the core code to use a different sortby option.
You might get away with just editing how the cache is stored.
inc/class_datacache.php
$query = $db->simple_select("threadprefixes", "*", "", array('order_by' => 'prefix', 'order_dir' => 'ASC'));
Change that to sort by pid then rebuild the cache and see if that does it for you.
You might get away with just editing how the cache is stored.
inc/class_datacache.php
$query = $db->simple_select("threadprefixes", "*", "", array('order_by' => 'prefix', 'order_dir' => 'ASC'));
Change that to sort by pid then rebuild the cache and see if that does it for you.
2017-12-11, 09:48 PM
(2017-12-11, 08:57 PM)labrocca Wrote: [ -> ]My guess is that you have to change the core code to use a different sortby option.
You might get away with just editing how the cache is stored.
inc/class_datacache.php
$query = $db->simple_select("threadprefixes", "*", "", array('order_by' => 'prefix', 'order_dir' => 'ASC'));
Change that to sort by pid then rebuild the cache and see if that does it for you.
Tank you! Working fine!
$query = $db->simple_select("threadprefixes", "*", "", array('order_by' => 'pid', 'order_dir' => 'ASC'));