|
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) |
fixed bug where users were in the search index when inactive
--- 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
[Prev in Thread] | Current Thread | [Next in Thread] |