Skip to main content

How to get the latest Replies

  • October 4, 2019
  • 5 replies
  • 2116 views

Hi guys,

I just wanted to ask on how to get the latest replies the same way on how we get the updates.
When I reply to the update, the reply is not showing.

{
updates(limit: 15) {
id
text_body
body
updated_at
replies {
body
}
item_id
creator {
id
photo_thumb
}
}
}

This topic has been closed for replies.

5 replies

dipro
Forum|alt.badge.img
  • Leader
  • October 17, 2019

Hey CJ,

Dipro here! You should be able to get the replies to an update using the query you’ve included above. Here’s an example:

Is that not working for you?

Cheers,
Dipro


  • Author
  • Participating Frequently
  • October 17, 2019

Hi Dipro,

Thank you for your reply. Yes I know that. But what I am trying to achieve is get the latest update that has the latest reply.

To give you an example is when you reply to a certain update, that update will not go first in the query but instead nothing happens. The query {items()} will sort updates based on creation/modification time of the item and the query wont care if that certain item has a latest reply or not.


dipro
Forum|alt.badge.img
  • Leader
  • November 1, 2019

Oh! Thanks for clarifying @cjspinner 👍 Sorry for the late response.

I will pass this along to our team as a request for future functionality! I can’t give you an ETA on when this will be released, but I will give it to the relevant internal teams for consideration. Appreciate you walking me through that!


  • Author
  • Participating Frequently
  • February 26, 2020

Hi, any updates regarding this functionality?


dipro
Forum|alt.badge.img
  • Leader
  • March 11, 2020

Hey CJ! I don’t have an update yet on this particular functionality, it will be prioritized alongside the other items currently on our roadmap.