Skip to content

Commit

Permalink
Update default query args and set context to view
Browse files Browse the repository at this point in the history
  • Loading branch information
Mamaduka committed Jul 23, 2021
1 parent f067e04 commit 85f5b40
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ const DEFAULT_QUERY = {
per_page: MAX_TERMS_SUGGESTIONS,
orderby: 'count',
order: 'desc',
_fields: 'id,name,count',
_fields: 'id,name',
context: 'view',
};

const isSameTermName = ( termA, termB ) =>
Expand Down

0 comments on commit 85f5b40

Please sign in to comment.