app/controllers/avo/actions_controller.rb in avo-3.0.7 vs app/controllers/avo/actions_controller.rb in avo-3.0.8

- old
+ new

@@ -24,10 +24,11 @@ performed_action = @action.handle_action( fields: action_params[:fields].except(:avo_resource_ids, :avo_selected_query), current_user: _current_user, resource: resource, - query: decrypted_query || @resource.find_record(resource_ids, params: params) + query: decrypted_query || + (resource_ids.any? ? @resource.find_record(resource_ids, params: params) : []) ) respond performed_action.response end