@property
    @memoized
    def selected(self):
        selected_ids = self.request.GET.getlist(self.slug)
        if not selected_ids:
            return [{'id': url_id, 'text': text}
                    for url_id, text in self.get_default_selections()]

        selected = (self.selected_static_options(selected_ids) +
                    self._selected_user_entries(selected_ids) +
                    self._selected_group_entries(selected_ids) +
                    self._selected_location_entries(selected_ids))
        known_ids = dict(selected)
        return [
            {'id': id, 'text': known_ids[id]}
            for id in selected_ids
            if id in known_ids
        ]
dataset/ETHPy150Open dimagi/commcare-hq/corehq/apps/reports/filters/users.py/ExpandedMobileWorkerFilter.selected/original