Skip to content

Commit

Permalink
Use per page '-1', it's okay with 'include' query
Browse files Browse the repository at this point in the history
  • Loading branch information
Mamaduka committed Oct 21, 2021
1 parent da82875 commit 6c107bd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ function FlatTermSelector( { slug } ) {
const query = {
...DEFAULT_QUERY,
include: _termIds.join( ',' ),
per_page: _termIds.length,
per_page: -1,
};

return {
Expand Down

0 comments on commit 6c107bd

Please sign in to comment.