fix(widgets): keep found rows for term aggregation post count #25
@@ -235,7 +235,9 @@ if (!function_exists('aksrt_widget_term_aggregation')) :
|
||||
'orderby' => (string) $args['orderby'],
|
||||
'order' => strtoupper((string) $args['order']) === 'ASC' ? 'ASC' : 'DESC',
|
||||
'count' => max(1, (int) $args['count']),
|
||||
'paginate' => '',
|
||||
// The reference shows the term's total post count, so found rows
|
||||
// must stay enabled (paginate '' would disable them).
|
||||
'paginate' => 'number',
|
||||
];
|
||||
$query = \AKSRT\WidgetSystem\PostQuery::build($query_args, 1, []);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user