From 5e3c460ea3760c911f5b8a8e127ea7c9f4bf53c1 Mon Sep 17 00:00:00 2001 From: Jens Deprez Date: Thu, 12 Sep 2024 11:48:48 +0200 Subject: [PATCH] UPDATE: Remove zitting? from the QUERY The removal of this extra distinct makes it so that duplicates are avoided in the results. --- webcomponents/besluiten-lijst/main.js | 2 +- webcomponents/reglementen-lijst/main.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/webcomponents/besluiten-lijst/main.js b/webcomponents/besluiten-lijst/main.js index 066bc74..8f97dd8 100644 --- a/webcomponents/besluiten-lijst/main.js +++ b/webcomponents/besluiten-lijst/main.js @@ -173,7 +173,7 @@ class BesluitenLijst extends HTMLElement { let offsetClause = `OFFSET ${this.offset}`; this.selectQuery = this.getQuery( - 'DISTINCT ?besluit ?title ?agendapunt ?zitting ?zitting_datum ?orgaan ?url ?status', + 'DISTINCT ?besluit ?title ?agendapunt ?zitting_datum ?orgaan ?url ?status', queryBestuursorgaan, queryThema, filterparams, diff --git a/webcomponents/reglementen-lijst/main.js b/webcomponents/reglementen-lijst/main.js index 129efaa..51916b9 100644 --- a/webcomponents/reglementen-lijst/main.js +++ b/webcomponents/reglementen-lijst/main.js @@ -246,7 +246,7 @@ class ReglementenLijst extends HTMLElement { PREFIX ext: SELECT - DISTINCT ?besluit ?title ?publicatie_datum ?agendapunt ?zitting ?orgaan ?url ?status ?type + DISTINCT ?besluit ?title ?publicatie_datum ?agendapunt ?orgaan ?url ?status ?type WHERE { ?besluit a besluit:Besluit ; a ?type ;