Skip to main content

I have a page:

https://cityobservatory.birmingham.gov.uk/explore/dataset/test-emergency-admissions-for-copd-icp-outcomes-framework-birmingham-and-solihull-wards/insight

Which has 4 filters on that I want t o affect the majority of the visuals. However, for the map I want this to ignore anything made to the 3rd filter “area_name” but respect all other filters. How can I achieve this?

I have tried the following either as its own context or as part of the main one at the start of the page but it just wont listen

<ods-dataset-context context="mapctx"
mapctx-dataset="{{ ctx.dataset.datasetid }}"
mapctx-parameters="{
'refine.date'= ctx.parameterst'refine.date'],
'refine.time_period_range'= ctx.parameterst'refine.time_period_range'],
'refine.ethnicity'= ctx.parameterst'refine.ethnicity'],
'refine.imd':'ALL'
}">

 

Hello Danny,

It seems that the code is working as you want, thanks to the AngularJs expressions you implemented, can you confirm that?

Best,

Manon


Thomas in ODS sorted me out. I needed to put the part which passes the filters into the new context AFTER my visual. 

ChatGPT gave me the right code, just in the wrong place. All sorted now.


Reply