Allow fetching all rows from results endpoint (#8389)

* Allow bypassing DISPLAY_MAX_ROW

* Add unit tests and docs

* Fix tests

* Fix mock

* Fix unit test

* Revert config change after test

* Change behavior

* Address comments
This commit is contained in:
Beto Dealmeida
2019-10-25 10:22:16 -07:00
committed by GitHub
parent 59889a4436
commit e704e29174
13 changed files with 104 additions and 19 deletions

View File

@@ -37,6 +37,7 @@ import AsyncSelect from '../../components/AsyncSelect';
const propTypes = {
actions: PropTypes.object.isRequired,
height: PropTypes.string.isRequired,
displayLimit: PropTypes.number.isRequired,
};
class QuerySearch extends React.PureComponent {
@@ -270,6 +271,7 @@ class QuerySearch extends React.PureComponent {
onDbClicked={this.onDbClicked}
queries={this.state.queriesArray}
actions={this.props.actions}
displayLimit={this.props.displayLimit}
/>
</div>
)}