multiple orderby in pre_get_posts bug
-
please change:
acf-quickedit-fields\include\ACFQuickEdit\Admin\Columns.php:305
private function get_meta_query( $by ) {
if(is_array($by)&&isset( $this->fields)){
foreach ($by as $subby => $row) {
if(array_key_exists($subby,$this->fields)){
$by=$subby;
}
break;
}
}ex:
$query->set( ‘orderby’, array(
‘ff_number01’ => ‘ASC’,
‘date’ => ‘DESC’,
));can works
- The topic ‘multiple orderby in pre_get_posts bug’ is closed to new replies.