Skip to content

Commit

Permalink
fix: archive orderby being ignored (#724)
Browse files Browse the repository at this point in the history
  • Loading branch information
thorbrink authored Oct 24, 2023
1 parent dd213b0 commit e3f6c14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/Content/PostFilters.php
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ private function getQueryString($queryString, $known = true)
*/
private function isMetaQuery($key)
{
return in_array($key, array('post_date', 'post_modified', 'post_title'));
return !in_array($key, array('post_date', 'post_modified', 'post_title'));
}

/**
Expand Down

0 comments on commit e3f6c14

Please sign in to comment.