lib/ecoportal/api/graphql/query/location_structure.rb in ecoportal-api-graphql-0.3.7 vs lib/ecoportal/api/graphql/query/location_structure.rb in ecoportal-api-graphql-0.3.8

- old
+ new

@@ -21,15 +21,19 @@ } } } end + # At the moment it always retrieves archived nodes!! + # @note this is on purpose, as via API + # there isn't much sense in not including archived nodes. def default_query_block Proc.new { id name archived weight + updatedAt visitorManagementEnabled nodes(includeArchived: true) { ___Ecoportal__API__GraphQL__Fragment__LocationNode } }