fix approval at news and announcement for abnormal flags that causing search result fault.

This commit is contained in:
Matthew K. Fu JuYuan authored and Christophe Vilayphiou committed 2012-08-08 11:01:50 +08:00
1 parent 1cdc0e24bd
commit 06919e76ed
14 files changed
+83 -149

No files matched your search

+1 -1
View File
@@ -10,7 +10,7 @@ namespace :matt_dev do
task :searching_02 => :environment do
a= Bulletin.solr_search do #("Bulletin",'我',:conditions =>{:is_checked=>true,:is_hidden=>false})
fulltext '我'
fulltext '關島'
with(:frontend_search,true)
#with(:is_hidden,true)
end
+1 -1
View File
@@ -9,7 +9,7 @@ namespace :mid_site do
admin_role = nil
sub_role = nil
test_account_ldap_id ='139716'
MiddleSiteConnection.establish
#MiddleSiteConnection.establish
task :sync => :environment do
info_profile = Info.first(conditions: {:key => 'profile'})