From 41386d0fd5a0ca9b7af18e2ae7d466778b1589b7 Mon Sep 17 00:00:00 2001 From: Maxim Didenko Date: Wed, 4 Nov 2020 11:52:04 +0200 Subject: [PATCH] UICIRC-518 - changed limits for fetching templates --- src/settings/NoticePolicy/NoticePolicySettings.js | 2 +- src/settings/PatronNotices/PatronNotices.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/settings/NoticePolicy/NoticePolicySettings.js b/src/settings/NoticePolicy/NoticePolicySettings.js index 9eb5f81d9..7a0fb7ba4 100644 --- a/src/settings/NoticePolicy/NoticePolicySettings.js +++ b/src/settings/NoticePolicy/NoticePolicySettings.js @@ -37,7 +37,7 @@ class NoticePolicySettings extends React.Component { path: 'templates', params: { query: 'cql.allRecords=1 AND category=""', - limit: '100', + limit: '1000', }, }, circulationRules: { diff --git a/src/settings/PatronNotices/PatronNotices.js b/src/settings/PatronNotices/PatronNotices.js index 3564be70f..04f0d04ef 100644 --- a/src/settings/PatronNotices/PatronNotices.js +++ b/src/settings/PatronNotices/PatronNotices.js @@ -44,8 +44,8 @@ class PatronNotices extends React.Component { params: { query: 'cql.allRecords=1 AND category=""', }, - recordsRequired: 50, - perRequest: 50, + recordsRequired: 1000, + perRequest: 1000, }, patronNoticePolicies: { type: 'okapi',