app/controllers/workarea/admin/application_controller.rb in workarea-admin-3.5.6 vs app/controllers/workarea/admin/application_controller.rb in workarea-admin-3.5.7
- old
+ new
@@ -98,10 +98,10 @@
def setup_alerts
@alerts = AlertsViewModel.wrap(Alerts.new)
end
def track_index_filters
- session[:last_index_path] = request.fullpath
+ session[:last_index_path] = request.fullpath unless request.xhr? || request.format.json?
end
end
end
end