Skip to content

Commit

Permalink
Reintroduce previously committed fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jsheunis authored Apr 19, 2023
1 parent eef6304 commit 44fe165
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions docs/assets/app_component_dataset.js
Original file line number Diff line number Diff line change
Expand Up @@ -211,11 +211,8 @@ const datasetView = () =>
c.dirs_from_path[c.dirs_from_path.length - 1]
.toLowerCase()
.indexOf(this.search_text.toLowerCase()) >= 0 ||
// || (c.authors.some(e => e.givenName.toLowerCase().indexOf(this.search_text.toLowerCase()) >= 0))
c.authors.some(
(f) =>
f.name.toLowerCase().indexOf(this.search_text.toLowerCase()) >= 0
)
c.authors.some((f) =>f.givenName.toLowerCase().indexOf(this.search_text.toLowerCase()) >= 0 ) ||
c.authors.some((f) =>f.familyName.toLowerCase().indexOf(this.search_text.toLowerCase()) >= 0 )
);
});
},
Expand Down

0 comments on commit 44fe165

Please sign in to comment.