Skip to content

Commit 995c4fb

Browse files
author
root
committed
Portfolio: #fix encoding error to show all post by alphabetical order - refs BT#22711
1 parent d27e121 commit 995c4fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main/inc/lib/PortfolioController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3921,7 +3921,7 @@ private function getItemsForIndex(
39213921
}
39223922

39233923
$queryBuilder->setParameter('current_user', $currentUserId);
3924-
if (true === api_get_configuration_value('portfolio_order_post_by_alphabetical_order') || $alphabeticalOrder) {
3924+
if ($alphabeticalOrder || true === api_get_configuration_value('portfolio_order_post_by_alphabetical_order')) {
39253925
$queryBuilder->orderBy('pi.title', 'ASC');
39263926
} else {
39273927
$queryBuilder->orderBy('pi.creationDate', 'DESC');

0 commit comments

Comments
 (0)