Reload newer objects first into search index.

This commit is contained in:
Martin Edenhofer 2014-01-30 01:06:04 +01:00
parent 52f60e81a9
commit a62653b578

View file

@ -515,7 +515,7 @@ reload search index with full data
def self.search_index_reload
return if !@search_index_support_config
self.all.each { |item|
self.all.order('created_at DESC').each { |item|
item.search_index_update_backend
}
end