]> git.cworth.org Git - sup/commitdiff
fix crash when refining search
authorChristopher Warrington <chrisw@rice.edu>
Sun, 3 Feb 2008 03:49:04 +0000 (21:49 -0600)
committerWilliam Morgan <wmorgan-sup@masanjin.net>
Sun, 3 Feb 2008 05:06:54 +0000 (21:06 -0800)
Refine Search no longer crashes.

lib/sup/modes/search-results-mode.rb [changed mode: 0644->0755]

old mode 100644 (file)
new mode 100755 (executable)
index f64a227..a03f0a2
@@ -15,7 +15,7 @@ class SearchResultsMode < ThreadIndexMode
   def refine_search
     query = BufferManager.ask :search, "query: ", (@qobj.to_s + " ")
     return unless query && query !~ /^\s*$/
-    SearchResultsMode.spawn_from_query query, @qopts
+    SearchResultsMode.spawn_from_query query
   end
 
   ## a proper is_relevant? method requires some way of asking ferret