function setCollapseResults(collapse) {
        collapseResults = collapse;
        exports.trigger(exports.SEARCH_COLLAPSE_RESULTS);
    }
Set if we need to collapse all results in the results pane
@param {boolean} collapse true to collapse