aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZachary Sloan2013-02-06 15:14:23 -0600
committerZachary Sloan2013-02-06 15:14:23 -0600
commitc01928f9f2c130c8adc488ef9435c28f5542e565 (patch)
tree41dd6ecb7401655809ad743b2ce736cd9529a7af
parent20efd30065bf95d7c8de9e69b0e1a75de7c47061 (diff)
downloadgenenetwork2-c01928f9f2c130c8adc488ef9435c28f5542e565.tar.gz
Small change to search_results.py to get search results page to work
-rw-r--r--wqflask/wqflask/search_results.py4
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 = []