Skip to content

Commit

Permalink
Filter map service points by selected locations (#3392)
Browse files Browse the repository at this point in the history
Signed-off-by: Elly Kitoto <[email protected]>
Co-authored-by: Benjamin Mwalimu <[email protected]>
Co-authored-by: Peter Lubell-Doughtie <[email protected]>
  • Loading branch information
3 people authored Jul 24, 2024
1 parent 9b51114 commit 131d2ac
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ data class GeoWidgetConfiguration(
val summaryBottomSheetConfig: SummaryBottomSheetConfig? = null,
val actions: List<ActionConfig>? = emptyList(),
val noResults: NoResultsConfig? = null,
val filterDataByRelatedEntityLocation: Boolean? = null,
) : Configuration()

@Serializable
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,8 @@ constructor(
fhirResourceConfig = geoWidgetConfig.resourceConfig,
configRules = null,
secondaryResourceConfigs = null,
filterByRelatedEntityLocationMetaTag = false,
filterByRelatedEntityLocationMetaTag =
geoWidgetConfig.filterDataByRelatedEntityLocation == true,
)
}
.await()
Expand Down

0 comments on commit 131d2ac

Please sign in to comment.