Commit 2e095ae5 authored by Klaus-Dieter Quibeldey-Cirkel's avatar Klaus-Dieter Quibeldey-Cirkel
Browse files

ignore time span filtering when searching

parent 3ed71d75
......@@ -277,7 +277,7 @@ export class CommentListComponent implements OnInit, OnDestroy {
if (this.searchInput) {
if (this.searchInput.length > 1) {
this.hideCommentsList = true;
this.filteredComments = this.commentsFilteredByTime
this.filteredComments = this.comments
.filter(c => this.checkIfIncludesKeyWord(c.body, this.searchInput)
|| (!!c.answer ? this.checkIfIncludesKeyWord(c.answer, this.searchInput) : false));
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment