code: function(filter, choice) {
        var choices = [];
        for (var i = 0; i < filter.choices.length; i++) {
          choices.push({
            label: filter.choices[i].label,
            action: filter.name,
            value: filterValueToChoiceValue(filter.choices[i].value, choice),
            default: filter.choices[i].value === filter.def
          });
        };
        return choices;
      }
docs: Obsolete. Translates filter data for use with Pill component