code: function addonsManager_getSearchResults() {
      var filterValue = this.getSearchFilterValue({
        filter: this.selectedSearchFilter
      });
  
      switch (filterValue) {
        case "local":
          return this.getAddons({attribute: "status", value: "installed"});
        case "remote":
          return this.getAddons({attribute: "remote", value: "true"});
        default:
          throw new Error(arguments.callee.name + ": Unknown search filter '" +
                          filterValue + "' selected");
      }
    }
docs: Returns the list of add-ons found by the selected filter
  
  @returns List of add-ons
  @type {ElemBase}