-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sorting in items.recent and items.feed #302
Comments
More detailsThat's the loading order at moment.
Now load more itemsPosting is loaded a second time because there is a child node.
Expected behaviourLoad all childnodes together with the parent instead of only one childnode. The ProblemAt the moment it's not really possible to render the data. A possibility would be, to show the parent item a second time. The problem here is, that it has the same id as before and it's not really addressable. (ng-repeat track by) |
It looks like you are using Infinite scroll does work, but in places the concepts of before and after with RSM (result set manangement, i.e. paging) do differ. |
You are right lloyd. |
Loading sequence3:::{"type":0,"data":["xmpp.buddycloud.retrieve",{"node":"/user/[email protected]/posts","rsm":{"max":20}}],"id":5} 3:::{"type":0,"data":["xmpp.buddycloud.retrieve",{"node":"/user/[email protected]/posts","rsm":{"max":10,"after":"2e9f55b7-640c-4e50-858b-4bfa2a99e450"}}],"id":9} Loading works without problem. I don't understand the message order. Best would be to see it live to understand the problem. Backward scrolling will be funny thing - didn't implement that till now. |
If posts receive a comment / like then their updated date is updated in the database. This is to ensure they pop up earlier in the feel. This may appear to make posts appear to be loaded out of date order. I've made some changes over the last few days for RSM as we're paging for https://github.com/project-isizwe/wifi-chat, suggest you try running the latest version of the server :) |
I'm not able to install buddycloud-vm. The xmpp-ftw part does not start up. Same on hosting platform. Here my newest app: |
Problem is solved for me. |
Result is not proper sorted by date
Here an example result. See u16 at 2015-01-28T15:32:46.646Z.
Without proper sorting, the infinite scroll does not work.
The text was updated successfully, but these errors were encountered: