Skip to content

Commit 727709b

Browse files
VladimirZaetsrostyslav-hymon
authored andcommitted
Fix/navigation order function
1 parent 39202ba commit 727709b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Customer/Block/Account/Navigation.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,6 @@ private function compare(SortLinkInterface $firstLink, SortLinkInterface $second
5050
return 0;
5151
}
5252

53-
return ($firstLink->getSortOrder() < $secondLink->getSortOrder()) ? -1 : 1;
53+
return ($firstLink->getSortOrder() < $secondLink->getSortOrder()) ? 1 : -1;
5454
}
5555
}

0 commit comments

Comments
 (0)