xwp / stream

🗄️ Stream plugin for WordPress

Home Page:https://wordpress.org/plugins/stream/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Live updates should behave differently when filtering results

fjarrett opened this issue · comments

Live updates is a cool feature that brings new records into view using the Heartbeat API.

screen shot 2014-12-19 at 12 10 36 pm

However, these live updates do not respect filtered results. So when you are filtering results using the dropdown menus or search, live updates can come rolling in and skew the results.

To fix this, we should do one of the following:

  1. Only allow live updates to run when the screen is using the default main query.
  2. Filter live updates so they respect the query being used at the time.

In the short term, this problem can be avoided by simply turning live updates off.

screen_shot_2014-12-19_at_12_04_24_pm

See this forum post for more details.