fix la limite du nombre d'article
This commit is contained in:
parent
67e8f41a32
commit
40e1e0aaeb
|
@ -39,7 +39,8 @@ const config = {
|
|||
actualites: {
|
||||
readByQueryOption: {
|
||||
fields: ['title', 'date', 'image', 'image_credit', 'vignette', 'vignette_credit', 'description', 'auteur', 'draft', 'content', 'event'],
|
||||
filterDraft
|
||||
filterDraft,
|
||||
limit: 1000
|
||||
},
|
||||
pathBuilder: (article) => {
|
||||
if (!article.image) delete article.image
|
||||
|
|
|
@ -39,7 +39,8 @@ const config = {
|
|||
actualites: {
|
||||
readByQueryOption: {
|
||||
fields: ['title', 'date', 'image', 'image_credit', 'vignette', 'vignette_credit', 'description', 'auteur', 'draft', 'content', 'event'],
|
||||
filterDraft
|
||||
filterDraft,
|
||||
limit: 1000
|
||||
},
|
||||
pathBuilder: (article) => {
|
||||
if (!article.image) delete article.image
|
||||
|
|
Loading…
Reference in New Issue