diff options
-rw-r--r-- | forum/documentation/TODO.rst | 16 | ||||
-rw-r--r-- | forum/documentation/scratch | 3 | ||||
-rw-r--r-- | forum/search/state_manager.py | 5 |
3 files changed, 18 insertions, 6 deletions
diff --git a/forum/documentation/TODO.rst b/forum/documentation/TODO.rst index f202a3f7..a35d5d59 100644 --- a/forum/documentation/TODO.rst +++ b/forum/documentation/TODO.rst @@ -2,7 +2,8 @@ note: there is also WISH_LIST. Here is only stuff that will be done soon. Site looks =========== -* make links within posts blue so that they are visible +* make links within posts underlined +* add happy talk to tags and people view Code Cleanups ============== @@ -17,14 +18,20 @@ Code Cleanups * python2.4 incompatibilities * datatime.datetime.strptime +Search +======== +* make full text search work in postgres +* walkthrough sphinx search setup again +* text query lost when visiting question, it just doesn't print in Q view + Bugs ====== -* make sure that search feature covers questions and answers - (title, body, tags) +* fix skin resolution bug in javascript - currently have to + copy skin media to customize Refactoring ============= -* merge search, question and index view functions into one +nothing right now Skins ======= @@ -59,5 +66,4 @@ Development environment Project website ==================== -* Logo!!! Ideas? * Adopt Jekyll for project site and transition from Dango diff --git a/forum/documentation/scratch b/forum/documentation/scratch new file mode 100644 index 00000000..d63b1f50 --- /dev/null +++ b/forum/documentation/scratch @@ -0,0 +1,3 @@ +Error upon restarting Apache: + +Name duplicates previous WSGI daemon definition diff --git a/forum/search/state_manager.py b/forum/search/state_manager.py index cb1908c6..6a38a7a2 100644 --- a/forum/search/state_manager.py +++ b/forum/search/state_manager.py @@ -128,13 +128,16 @@ class SearchState(object): self.reset_query() return - if 'sort' in input: if input['sort'] == 'relevant' and self.query is None: self.reset_sort() else: self.update_value('sort',input) + #todo: plug - mysql has no relevance sort + if self.sort == 'relevant': + self.reset_sort() + def reset_page(self): self.page = 1 |