]> git.cworth.org Git - sup/commitdiff
bah!
authorwmorgan <wmorgan@5c8cc53c-5e98-4d25-b20a-d8db53a31250>
Mon, 10 Dec 2007 03:01:26 +0000 (03:01 +0000)
committerwmorgan <wmorgan@5c8cc53c-5e98-4d25-b20a-d8db53a31250>
Mon, 10 Dec 2007 03:01:26 +0000 (03:01 +0000)
git-svn-id: svn://rubyforge.org/var/svn/sup/trunk@758 5c8cc53c-5e98-4d25-b20a-d8db53a31250

lib/sup/modes/thread-index-mode.rb

index 9c507cb965073d5defcf9853e19a0e20c14d286e..1307284f2e5fc3f1385a9ddc4dcfb1b0ee01e234 100644 (file)
@@ -497,7 +497,7 @@ protected
   ## used to tag threads by query. this can be made a lot more sophisticated,
   ## but for right now we'll do the obvious this.
   def thread_matches? t, query
-    t.subject =~ query || t.snippet =~ query || t.participants.any? { |x| x.longname =~ query }
+    t.subj =~ query || t.snippet =~ query || t.participants.any? { |x| x.longname =~ query }
   end
 
   def size_widget_for_thread t