braine-l-alleud: increase topic numbers limitation to 100

This commit is contained in:
Nicolas Roche 2021-12-15 15:40:31 +01:00
parent 0a5cbcccee
commit 802f158c6d
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ settings = {
for key, value in settings.items():
vocabulary_id = value.pop('vocabulary_id')
con = PloneRestApi.objects.get(slug=key)
resp = con.request(uri='@vocabularies', uid=vocabulary_id)
resp = con.request(uri='@vocabularies', uid=vocabulary_id, params = {'b_size': 100})
value['field_values'] = resp['items']
with open('topics.json', 'w') as fd: