From 392272095baf02496405031d488e32ef68b0f85f Mon Sep 17 00:00:00 2001 From: Zachary Sloan Date: Thu, 13 Jun 2013 23:04:38 +0000 Subject: Made a few changes while trying to figure out why the search isn't working post-merging with Sam's code --- wqflask/wqflask/search_results.py | 1 + wqflask/wqflask/templates/index_page.html | 1 + wqflask/wqflask/views.py | 1 + 3 files changed, 3 insertions(+) diff --git a/wqflask/wqflask/search_results.py b/wqflask/wqflask/search_results.py index 63aa481e..d6432c86 100644 --- a/wqflask/wqflask/search_results.py +++ b/wqflask/wqflask/search_results.py @@ -77,6 +77,7 @@ class SearchResultPage(object): self.quick_search() else: self.results = [] + print("kw is:", kw) #self.quick_search = False self.search_terms = kw['search_terms'] self.dataset = create_dataset(kw['dataset']) diff --git a/wqflask/wqflask/templates/index_page.html b/wqflask/wqflask/templates/index_page.html index 2b298eeb..f9c5188f 100644 --- a/wqflask/wqflask/templates/index_page.html +++ b/wqflask/wqflask/templates/index_page.html @@ -30,6 +30,7 @@ +
diff --git a/wqflask/wqflask/views.py b/wqflask/wqflask/views.py index ffcb0b97..53deda3b 100644 --- a/wqflask/wqflask/views.py +++ b/wqflask/wqflask/views.py @@ -92,6 +92,7 @@ def search_page(): result = pickle.loads(result) else: print("calling search_results.SearchResultPage") + print("request.args is", request.args) the_search = search_results.SearchResultPage(request.args) result = the_search.__dict__ -- cgit v1.2.3