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