braine-l-alleud: increase topic numbers limitation to 100
This commit is contained in:
parent
0a5cbcccee
commit
802f158c6d
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue