This is the codeAbility Sharing Platform! Learn more about the codeAbility Sharing Platform.

Skip to content
Snippets Groups Projects
Commit de6bf1bb authored by Daniel Rainer's avatar Daniel Rainer
Browse files

Set hitCount to 0 when input changes

This line was removed in a (foolish) commit
to development. It should remain in place,
otherwise the displayed hit count is messed
up when the search input changes.
parent fa627aec
Branches
Tags
2 merge requests!23Next Release Candidate,!12Display correct hit count
......@@ -30,6 +30,7 @@ export class SearchComponent implements OnInit {
searchInput.page = 0;
this.searchInput = searchInput;
this.results = [];
this.hitCount = 0;
this.search();
}
......
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