myexperiment-hackers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[myexperiment-hackers] [3074] trunk/app/models/user.rb: fixed bug where


From: noreply
Subject: [myexperiment-hackers] [3074] trunk/app/models/user.rb: fixed bug where users were in the search index when inactive
Date: Fri, 3 Aug 2012 14:47:33 +0000 (UTC)

Revision
3074
Author
dgc
Date
2012-08-03 14:47:33 +0000 (Fri, 03 Aug 2012)

Log Message

fixed bug where users were in the search index when inactive

Modified Paths

Diff

Modified: trunk/app/models/user.rb (3073 => 3074)


--- trunk/app/models/user.rb	2012-08-03 14:46:15 UTC (rev 3073)
+++ trunk/app/models/user.rb	2012-08-03 14:47:33 UTC (rev 3074)
@@ -280,7 +280,7 @@
   
   acts_as_creditor
 
-  acts_as_solr(:fields => [ :name, :tag_list ], :include => [ :profile ]) if Conf.solr_enable
+  acts_as_solr(:fields => [ :name, :tag_list ], :include => [ :profile ], :if => "activated_at") if Conf.solr_enable
 
   validates_presence_of :name
   

reply via email to

[Prev in Thread] Current Thread [Next in Thread]