Skip to content

Commit

Permalink
[ALS-5474] Fix study tags showing as tags
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesPeck authored Jan 12, 2024
1 parent f68a117 commit aad871f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ function(BB, HBS, _, tagFilterViewTemplate, tagFilterModel, filterModel, keyboar
render: function(){
let unusedTags = this.model.get("unusedTags").toArray();
let filteredTags = _.filter(unusedTags, function(tag){
return ! (tag.get('tag')===dccHarmonizedTag || studyVersionRegex.test(tag.get('tag'))) && ! tableVersionRegex.test(tag.get('tag'));
return ! (tag.get('tag')===dccHarmonizedTag || searchUtil.isStudy(tag.get('tag'))) && ! tableVersionRegex.test(tag.get('tag'));
}).map(function(tag){return tag.toJSON();})
let tags = filteredTags.slice(0,this.model.get('tagLimit'));
let studyTags = this.determineStudyTags(unusedTags);
Expand Down

0 comments on commit aad871f

Please sign in to comment.