diff options
Diffstat (limited to 'wqflask')
-rw-r--r-- | wqflask/wqflask/search_results.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/wqflask/wqflask/search_results.py b/wqflask/wqflask/search_results.py index 1be1185c..d20d7d89 100644 --- a/wqflask/wqflask/search_results.py +++ b/wqflask/wqflask/search_results.py @@ -69,6 +69,8 @@ class SearchResultPage(): #else: self.dataset = create_dataset(kw['dataset']) + self.search_terms = kw['search_terms'] + self.search() self.gen_search_result() @@ -102,7 +104,7 @@ class SearchResultPage(): def search(self): - self.search_terms = parser.parse(self.kw['search_terms']) + self.search_terms = parser.parse(self.search_terms) print("After parsing:", self.search_terms) self.results = [] |