Badge Assignment Logic for "barrier free" and "Behindertengerecht" - noi-techpark/opendatahub-docs GitHub Wiki
The ParseMyAccommodation() function also focuses on the badge management for accommodations.
It assigns the SmgTag "barrier-free" when the badge "Behindertengerecht" is present in the BadgeIds.
The Code:
// If the "Behindertengerecht" badge is present, add "barrier-free" as a tag
UpdateBadgesToSmgTags(myacco, "Behindertengerecht", "barrier-free");