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 remove last item in activity table

lukecarbis opened this issue · comments

When your stream activity tables has more than 20 items (or more than your Records per page setting), you would expect the last row to be removed from your activity table when a new row is added to the top.

However, what if you are using a brand new Stream installation, and you've only got 3 items in your list? Currently, when a new row is added, the last row is removed.

Also, the 3 items label doesn't change when new rows are added via live updates.

Here are some screenshots of a live update, with my Records per page set to 20. I start with 5 items. A new items is added. There are still only 5 items in the list.

schermata 2014-04-04 alle 09 49 36 am

schermata 2014-04-04 alle 09 49 53 am