Fix bug.
This commit is contained in:
parent
0ff710332f
commit
00351ff2af
|
@ -117,7 +117,7 @@ class Admin::FeedsController < OrbitAdminController
|
|||
@skip_count = (@page_no-1)*@max_content_count
|
||||
@module_name = params[:filters][:module_name].to_a rescue []
|
||||
@module_name = SiteFeed.all.map{|s| s.channel_key}.uniq if @module_name == []
|
||||
@all_feed_annc = SiteFeedAnnc.where(:channel_key.in => @module_name).order(created_at: 1).to_a rescue []
|
||||
@all_feed_annc = SiteFeedAnnc.where(:channel_key.in => @module_name).order(id: 1).to_a rescue []
|
||||
@source = params[:filters][:source] rescue []
|
||||
@keywords = params[:keywords] rescue nil
|
||||
if request.xhr?
|
||||
|
|
Loading…
Reference in New Issue