fix approval at news and announcement for abnormal flags that causing search result fault.
This commit is contained in:
1 parent
1cdc0e24bd
commit
06919e76ed
14 files changed
+83
-149
No files matched your search
@@ -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
|
||||
|
||||
@@ -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'})
|
||||
|
||||
Reference in new issue
Block a user