Merge pull request #1529 from OpenRefine/issue/1526-new

Make server accept the empty string for the limit in a reconciliation config
This commit is contained in:
Antonin Delpeuch 2018-03-17 15:53:49 +00:00 committed by GitHub
commit c6be9dd54a
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 }