Skip to content

Commit

Permalink
Merge pull request #1359 from psavery/limit-default-none
Browse files Browse the repository at this point in the history
Default to "None" for the limit
  • Loading branch information
manthey authored Nov 3, 2023
2 parents 7657a98 + 2a2d355 commit 295a894
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion sources/dicom/large_image_source_dicom/assetstore/rest.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ def _importData(self, assetstore, params, progress):
enum=('folder', 'user', 'collection'),
required=True)
.param('limit', 'The maximum number of results to import.',
required=False, dataType='int')
required=False, default=None)
.param('filters', 'Any search parameters to filter DICOM objects.',
required=False, default='{}')
.param('progress', 'Whether to record progress on this operation.',
Expand Down
2 changes: 1 addition & 1 deletion sources/dicom/test_dicom/web_client_specs/dicomWebSpec.js
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ describe('DICOMWeb assetstore', function () {
});

waitsFor(function () {
return $('.g-validation-failed-message').html().includes('Invalid value');
return $('.g-validation-failed-message').html() === 'Invalid limit';
}, 'Invalid limit check (float)');

runs(function () {
Expand Down

0 comments on commit 295a894

Please sign in to comment.