Skip to content

Commit

Permalink
Merge branch 'master' into release
Browse files Browse the repository at this point in the history
  • Loading branch information
Gcolon021 authored Mar 26, 2024
2 parents 95847e0 + ea408e2 commit 2dc9c0a
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,7 @@ define(['backbone', 'handlebars', 'underscore', 'text!search-interface/datatable
let data = this.dtData;
const isOpenAccess = JSON.parse(sessionStorage.getItem('isOpenAccess'));
if(!data){

if (isOpenAccess) {
// filter out stigmatized variables
data = this.model.dtVariables.filter(function (variable) {
Expand All @@ -198,6 +199,7 @@ define(['backbone', 'handlebars', 'underscore', 'text!search-interface/datatable
(_.find(existingFilter.get('variables'), (conceptPath) => {
return conceptPath.includes(variable.result.metadata.columnmeta_var_id);
}) !== undefined) : false,

variable.result.metadata.columnmeta_var_id,
variable.result.metadata.columnmeta_name,
variable.result.metadata.columnmeta_description,
Expand Down

0 comments on commit 2dc9c0a

Please sign in to comment.