Skip to content

Commit

Permalink
Pass context to postPicker query args
Browse files Browse the repository at this point in the history
  • Loading branch information
Sephsekla committed Mar 13, 2024
1 parent 7a1b2fd commit f23251a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/PostPicker/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,7 @@ function BrowsePanel( props ) {
search: search || undefined, // When empty, set as undefined to omit query var from API request.
per_page: 30,
...taxQueries,
context: 'view',
};

return (
Expand Down

0 comments on commit f23251a

Please sign in to comment.