From 6d93328a175b397566a0c1150537807dcf4f1241 Mon Sep 17 00:00:00 2001 From: joycitta-siqueira Date: Sun, 20 Mar 2022 20:43:23 -0300 Subject: [PATCH] List of the 12 modified items --- src/pages/ItemsList.vue | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/pages/ItemsList.vue b/src/pages/ItemsList.vue index 5c34444..34b079d 100644 --- a/src/pages/ItemsList.vue +++ b/src/pages/ItemsList.vue @@ -42,8 +42,7 @@ export default { created(){ this.setOpen(true) - fetch(`https://rcteste.tainacan.org/wp-json/tainacan/v2/collection/${this.collectionId}/items`) - // fetch(`https://museucasadahera.acervos.museus.gov.br/wp-json/tainacan/v2/collection/${this.collectionId}/items`) + fetch(`https://rcteste.tainacan.org/wp-json/tainacan/v2/collection/${this.collectionId}/items?perpage=12&orderby=modified`) .then((response) => response.json()) .then((data) => { this.items = data.items;