Merge branch 'master' into 4062-infinite-scroll-repeat-issue
[arvados.git] / services / api / lib / eventbus.rb
index 03afc3160159727086fc56f3766d51832790e38e..bccbeea4bb62ed951cdcc3f6a6ad2d2ac9098d7d 100644 (file)
@@ -129,7 +129,7 @@ class EventBus
           # Add a filter.  This gets the :filters field which is the same
           # format as used for regular index queries.
           ws.filters << Filter.new(p)
-          ws.send ({status: 200, message: 'subscribe ok'}.to_json)
+          ws.send ({status: 200, message: 'subscribe ok', filter: p}.to_json)
 
           # Send any pending events
           push_events ws