Skip to content

Commit

Permalink
Fetch all terms instead of just the first 100. Relies upon the fetch-…
Browse files Browse the repository at this point in the history
…all middleware. (#11524)
  • Loading branch information
dd32 authored and danielbachhuber committed Nov 6, 2018
1 parent 7041e49 commit 95f0640
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ class FlatTermSelector extends Component {
this.setState( { loading: false } );
this.initRequest = this.fetchTerms( {
include: this.props.terms.join( ',' ),
per_page: 100,
per_page: -1,
} );
this.initRequest.then(
() => {
Expand Down

0 comments on commit 95f0640

Please sign in to comment.