Skip to content

Commit

Permalink
Added eng-GB language code for field sort (see EZP-21700)
Browse files Browse the repository at this point in the history
  • Loading branch information
lolautruche committed Nov 12, 2013
1 parent 1c866e6 commit 87f04f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Controller/DemoController.php
Expand Up @@ -156,7 +156,7 @@ public function listBlogPostsAction( $locationId )
$query = new Query();
$query->criterion = $criteria;
$query->sortClauses = array(
new SortClause\Field( 'blog_post', 'publication_date', Query::SORT_DESC )
new SortClause\Field( 'blog_post', 'publication_date', Query::SORT_DESC, 'eng-GB' )
);

// Initialize pagination.
Expand Down

0 comments on commit 87f04f5

Please sign in to comment.