We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d27e121 commit 995c4fbCopy full SHA for 995c4fb
main/inc/lib/PortfolioController.php
@@ -3921,7 +3921,7 @@ private function getItemsForIndex(
3921
}
3922
3923
$queryBuilder->setParameter('current_user', $currentUserId);
3924
- if (true === api_get_configuration_value('portfolio_order_post_by_alphabetical_order') || $alphabeticalOrder) {
+ if ($alphabeticalOrder || true === api_get_configuration_value('portfolio_order_post_by_alphabetical_order')) {
3925
$queryBuilder->orderBy('pi.title', 'ASC');
3926
} else {
3927
$queryBuilder->orderBy('pi.creationDate', 'DESC');
0 commit comments