Skip to content

Commit

Permalink
PLANET-7674: Fix tags list (#2453)
Browse files Browse the repository at this point in the history
Ref: https://jira.greenpeace.org/browse/PLANET-7674

- Remove per_page parameter
  • Loading branch information
GP-Dan-Tovbein authored Nov 27, 2024
1 parent ae64ea1 commit 03ff5bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets/src/block-editor/TagSelector/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ const TagSelector = props => <TaxonomySelector label="Select Tags" {...props} />

export default compose(
withSelect(select => ({
suggestions: select('core').getEntityRecords('taxonomy', 'post_tag', {hide_empty: false, per_page: -1}) || [],
suggestions: select('core').getEntityRecords('taxonomy', 'post_tag', {hide_empty: false}) || [],
}))
)(TagSelector);

0 comments on commit 03ff5bb

Please sign in to comment.