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

This commit is contained in:
Matthew K. Fu JuYuan committed 2012-08-03 12:45:47 +08:00
1 parent 69901403cd
commit d7ad029d4b
14 files changed
+85 -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'})