Skip to content
Snippets Groups Projects
Commit 37ec4c71 authored by esikkala's avatar esikkala
Browse files

Clear cache by modifying facet query

parent 8fcb431f
No related branches found
No related tags found
No related merge requests found
...@@ -232,6 +232,7 @@ module.exports = { ...@@ -232,6 +232,7 @@ module.exports = {
PREFIX mmm-schema: <http://ldf.fi/mmm/schema/> PREFIX mmm-schema: <http://ldf.fi/mmm/schema/>
PREFIX gvp: <http://vocab.getty.edu/ontology#> PREFIX gvp: <http://vocab.getty.edu/ontology#>
SELECT DISTINCT ?id ?prefLabel ?selected ?source ?parent ?instanceCount { SELECT DISTINCT ?id ?prefLabel ?selected ?source ?parent ?instanceCount {
{ {
{ {
......
...@@ -145,7 +145,7 @@ export const getFacet = (id, sortBy, sortDirection, filters) => { ...@@ -145,7 +145,7 @@ export const getFacet = (id, sortBy, sortDirection, filters) => {
} }
if (facetConfig.type === 'hierarchical') { if (facetConfig.type === 'hierarchical') {
mapper = mapHierarchicalFacet; mapper = mapHierarchicalFacet;
parentBlock = ` parentBlock = `
UNION UNION
{ {
${generateFacetFilterParents(id, filters)} ${generateFacetFilterParents(id, filters)}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment