Pasar al contenido principal
CERRAR
Título visual
Exposiciones
Tipo de widget
Consulta GraphQL
query getExhibitonPublic($isPublic: String!, $limit: Int, $offset: Int){
nodeQuery(
limit: $limit,
offset: $offset,
sort: { field: "created", direction: DESC },
filter: {conjunction: AND,
groups: [
{
conditions: [{
operator: EQUAL,
field: "type",
value: ["exposiciones_80y"]
}]
},{
conditions: [{
operator: EQUAL,
field: "status",
value: [$isPublic]
}]
}

]

}) {
count
entities {
entityLabel
entityId
... on NodeExposiciones80y{
uuid
title
path{
alias
pathauto
}
uid {
targetId
entity{
name
fieldName
fieldLastname
}
}
body {
value
}
queryFieldContents{
entities{
entityLabel
entityId
... on NodeArchive80y{
title
fieldCover {
derivative(style: LARGE) {
height
width
url
}
}
fieldImages{
url
derivative(style: LARGE) {
height
width
url
}
}
}
}
}
}
}
}
}