Skip to content

Commit

Permalink
fix query args in get posts api
Browse files Browse the repository at this point in the history
  • Loading branch information
lavolpecheprogramma authored Aug 27, 2020
1 parent d67a4e8 commit 89aed9c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Aeria/Query/Query.php
Original file line number Diff line number Diff line change
Expand Up @@ -232,8 +232,10 @@ public function getPosts($parameters)
'post_type' => $postType,
'post_parent' => $parentID,
'tax_query' => [
'taxonomy' => $taxonomy,
'terms' => $taxonomyTerms,
[
'taxonomy' => $taxonomy,
'terms' => $taxonomyTerms
]
],
'orderby' => $orderBy,
'order' => $order,
Expand Down

0 comments on commit 89aed9c

Please sign in to comment.