Skip to content

Commit

Permalink
fix: municipalities shared dimension would not load terms
Browse files Browse the repository at this point in the history
  • Loading branch information
tpluscode committed Aug 17, 2023
1 parent 8631a79 commit 6cfac72
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/tender-hotels-suffer.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@cube-creator/shared-dimensions-api": patch
---

Fixes a problem with shared dimension terms not appearing when they did not have the type `schema:DefinedTerm` as was the case with municipalities
5 changes: 5 additions & 0 deletions apis/shared-dimensions/lib/shapes/terms-query-shape.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,11 @@
[
sh:path schema:name ;
] ;
sh:property
[
sh:path rdf:type ;
sh:hasValue schema:DefinedTerm ;
] ;
sh:expression
[
sh:deactivated true ;
Expand Down

0 comments on commit 6cfac72

Please sign in to comment.