In peakd's activities tab is one for payouts.
When these payouts present they present in descending payout order rather than chronologically.
So, I asked Asgartj and was told that it was set by the api and beyond their control.
It's not all that important, but when searching payouts it helps me to see them chronologically.
You are viewing a single comment's thread from:
@asgarth I think the api options may have change since you last looked :) there are multiple sort options and "blog" is the one where it's sorted chronologically eg:
curl -d '{"id":2,"jsonrpc":"2.0","method":"bridge.get_account_posts","params":{"sort":"blog","account":"antisocialist","observer":"howo"}}' https://api.deathwing.me/
Thank you!
I don't think this is related to the blog. From my understanding the request is to allow a different sort on this call:
{"id":2,"jsonrpc":"2.0","method":"bridge.get_account_posts","params":{"sort":"payout","account":"howo","observer":"asgarth"}}As you can see the results are sorted by descending payout. The request is to sort chronologically. And as far as I know it's not available.
Yes this is what I mean, there are other sorts available:
supported_sort_list = ['blog', 'feed', 'posts', 'comments', 'replies', 'payout']and if you put the
sortparam asbloginstead ofpayoutyou'll get the results chronologically, descending (new -> old)No, this is not what he requested.
Blog page is here: https://peakd.com/@howo
Payout page is here: https://peakd.com/@howo/payout
He basically want the second page (with comments too and not just root posts) sorted chronologically.
Aaaah I see, sorry I didn't realize that sorting by "blog" didn't return the comments. I'll see if I can add a new payout sort going :)