Skip to content

Commit

Permalink
FIO-4970: reduced limit query parameter value for resource requests (f…
Browse files Browse the repository at this point in the history
  • Loading branch information
Maria-Golomb authored May 17, 2022
1 parent fc48f19 commit adb4845
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/WebformBuilder.js
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ export default class WebformBuilder extends Component {
const query = {
params: {
type: 'resource',
limit: 4294967295,
limit: 1000000,
select: '_id,title,name,components'
}
};
Expand Down
2 changes: 1 addition & 1 deletion src/components/form/editForm/Form.edit.form.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ export default [
input: true,
dataSrc: 'url',
data: {
url: '/form?limit=4294967295&select=_id,title,display'
url: '/form?limit=1000000&select=_id,title,display'
},
searchField: 'title__regex',
template: '<span>{{ item.title }}</span>',
Expand Down
2 changes: 1 addition & 1 deletion src/components/resource/editForm/Resource.edit.display.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export default [
input: true,
dataSrc: 'url',
data: {
url: '/form?type=resource&limit=4294967295&select=_id,title',
url: '/form?type=resource&limit=1000000&select=_id,title',
},
authenticate: true,
template: '<span>{{ item.title }}</span>',
Expand Down
2 changes: 1 addition & 1 deletion src/components/select/editForm/Select.edit.data.js
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ export default [
input: true,
dataSrc: 'url',
data: {
url: '/form?type=resource&limit=4294967295&select=_id,title',
url: '/form?type=resource&limit=1000000&select=_id,title',
},
authenticate: true,
template: '<span>{{ item.title }}</span>',
Expand Down

0 comments on commit adb4845

Please sign in to comment.