mirror of
https://github.com/strapi/strapi.git
synced 2025-11-01 10:23:34 +00:00
Merge pull request #980 from strapi/fix-ctm-limit
Changing the limit in the content manager
This commit is contained in:
commit
1cf5c518ae
@ -142,7 +142,7 @@ export class ListPage extends React.Component {
|
||||
const { history, listPage: { params } } = this.props;
|
||||
const search =
|
||||
e.target.name === 'params.limit'
|
||||
? `page=${params.currentPage}&limit=${e.target.value}&sort=${params.sort}&source=${this.getSource()}`
|
||||
? `page=${params.page}&limit=${e.target.value}&sort=${params.sort}&source=${this.getSource()}`
|
||||
: `page=${e.target.value}&limit=${params.limit}&sort=${params.sort}&source=${this.getSource()}`;
|
||||
this.props.history.push({
|
||||
pathname: history.pathname,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user