Skip to content
Snippets Groups Projects
Commit 3553769c authored by esikkala's avatar esikkala
Browse files

Update rows per page options

parent 5c9519ee
No related branches found
No related tags found
No related merge requests found
......@@ -45,7 +45,6 @@ class Network extends React.Component {
}
componentDidMount = () => {
console.log('did mount')
this.props.fetchResults({
resultClass: this.props.resultClass,
facetClass: this.props.facetClass,
......
......@@ -260,7 +260,7 @@ class ResultTable extends React.Component {
: ({ from, to, count }) => `${from}-${to} of ${count}`}
rowsPerPage={pagesize}
labelRowsPerPage={intl.get('table.rowsPerPage')}
rowsPerPageOptions={[5, 10, 15, 25, 30, 50, 100]}
rowsPerPageOptions={[5, 10, 15, 20, 25, 30, 50, 100]}
page={page === -1 || resultCount === 0 ? 0 : page}
onChangePage={this.handleChangePage}
onChangeRowsPerPage={this.handleOnChangeRowsPerPage}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment