app/controllers/workarea/admin/application_controller.rb in workarea-admin-3.4.28 vs app/controllers/workarea/admin/application_controller.rb in workarea-admin-3.4.29
- old
+ new
@@ -100,10 +100,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