From 796ceb95c2535a0a88586f196fb5106c8fc8e924 Mon Sep 17 00:00:00 2001 From: Bendik Aagaard Lynghaug Date: Wed, 23 Sep 2026 07:06:10 +0200 Subject: [PATCH] Public lists: one record per yielded value, not a nested list Co-Authored-By: Claude Fable 5.1 --- questions/status/anleggsfeil/index.yaml | 2 +- questions/status/oppslag/index.yaml | 2 +- questions/status/trafikkmeldinger/index.yaml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/questions/status/anleggsfeil/index.yaml b/questions/status/anleggsfeil/index.yaml index b6dff86..805a464 100644 --- a/questions/status/anleggsfeil/index.yaml +++ b/questions/status/anleggsfeil/index.yaml @@ -4,7 +4,7 @@ alternatives: - description: '' name: '' resource: - jq: 'map(.responses |= {hva: .hva, hvor: .hvor})' + jq: '.[] | .responses |= {hva: .hva, hvor: .hvor}' public: true source: bucket: anleggsfeil diff --git a/questions/status/oppslag/index.yaml b/questions/status/oppslag/index.yaml index dbd41f3..cf172af 100644 --- a/questions/status/oppslag/index.yaml +++ b/questions/status/oppslag/index.yaml @@ -4,7 +4,7 @@ alternatives: - description: '' name: '' resource: - jq: 'map(.responses |= {har_eller_trenger: .har_eller_trenger, hva: .hva})' + jq: '.[] | .responses |= {har_eller_trenger: .har_eller_trenger, hva: .hva}' public: true source: bucket: oppslag diff --git a/questions/status/trafikkmeldinger/index.yaml b/questions/status/trafikkmeldinger/index.yaml index c90e75c..7444f44 100644 --- a/questions/status/trafikkmeldinger/index.yaml +++ b/questions/status/trafikkmeldinger/index.yaml @@ -4,7 +4,7 @@ alternatives: - description: '' name: '' resource: - jq: 'map(.responses |= {hva: .hva, hvor: .hvor})' + jq: '.[] | .responses |= {hva: .hva, hvor: .hvor}' public: true source: bucket: trafikkmeldinger