List of the 12 modified items

This commit is contained in:
joycitta-siqueira 2022-03-20 20:43:23 -03:00
parent a46854120d
commit 6d93328a17
1 changed files with 1 additions and 2 deletions

View File

@ -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;