Merge pull request #1527 from OpenRefine/issue/1526

pass the limit as int from javascript
This commit is contained in:
Thad Guidry 2018-03-02 17:36:37 -06:00 committed by GitHub
commit 0010808f3a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -316,7 +316,7 @@ ReconStandardServicePanel.prototype.start = function() {
type: (type) ? { id: type.id, name: type.name } : null,
autoMatch: this._elmts.automatchCheck[0].checked,
columnDetails: columnDetails,
limit: this._elmts.maxCandidates[0].value
limit: parseInt(this._elmts.maxCandidates[0].value) || 0
})
},
{ cellsChanged: true, columnStatsChanged: true }