aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/app')
-rw-r--r--client/src/app/shared/search/search.component.ts5
1 files changed, 4 insertions, 1 deletions
diff --git a/client/src/app/shared/search/search.component.ts b/client/src/app/shared/search/search.component.ts
index ed1ce807a..2f89d83bf 100644
--- a/client/src/app/shared/search/search.component.ts
+++ b/client/src/app/shared/search/search.component.ts
@@ -51,7 +51,10 @@ export class SearchComponent implements OnInit {
51 $event.stopPropagation(); 51 $event.stopPropagation();
52 52
53 this.searchCriterias.field = choice; 53 this.searchCriterias.field = choice;
54 this.doSearch(); 54
55 if (this.searchCriterias.value !== '') {
56 this.doSearch();
57 }
55 } 58 }
56 59
57 doSearch() { 60 doSearch() {