<commit_before>Template.Search.helpers({

  appList: function() {

    var term = FlowRouter.getQueryParam('term');
    return term && Apps.find({$or: [
      {name: {$regex: term, $options: 'i'}},
      {description: {$regex: term, $options: 'i'}}
    ]}).fetch();

  }

});
<commit_msg>Search shortDescription in addition to name/description<commit_after>Template.Search.helpers({

  appList: function() {

    var term = FlowRouter.getQueryParam('term');
    return term && Apps.find({$or: [
      {name: {$regex: term, $options: 'i'}},
      {shortDescription: {$regex: term, $options: 'i'}},
      {description: {$regex: term, $options: 'i'}}
    ]}, {sort: {name: -1}}).fetch();

  }

});

{'fraction_non_alphanumeric': 0.21007194244604316, 'fraction_numerical': 0.0014388489208633094, 'mean_word_length': 3.7027027027027026, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3295504', 'n_tokens_mistral': 237, 'n_tokens_neox': 230, 'n_words': 52}