intercom-go icon indicating copy to clipboard operation
intercom-go copied to clipboard

Sort "List Users" endpoint?

Open tejasmanohar opened this issue 8 years ago • 7 comments

How do you sort the "List Users" data?

tejasmanohar avatar Aug 12 '16 05:08 tejasmanohar

At the moment you cannot sort data via the list users functionality. i..e you cannot set a sort field at the moment. It this what you mean? i.e. how do you sort data similar to the API for list users?

choran avatar Aug 12 '16 10:08 choran

Yeah, meant setting a sort field. Alright, I'll send a PR. It seems you can here- https://developers.intercom.io/reference

tejasmanohar avatar Aug 12 '16 16:08 tejasmanohar

Hi @tejasmanohar Thanks for submitting the PR and sorry for not getting to it yet. Should be able to get to it this week Cheers Cathal

choran avatar Aug 21 '17 15:08 choran

@choran Ooh, there are merge conflicts now (almost a yr later :P). I'm no longer using this library and don't remember the context of this well so if these changes are valuable, it may be best to incorporate them outside of my PR or amend it on your end. Sorry!

tejasmanohar avatar Aug 21 '17 18:08 tejasmanohar

Hi @tejasmanohar, Yeah, that is fair enough. We are making an effort to get to these regularly now so that they do not remain inactive for so long. For now I will make this a work needed and close the PR for now. Thanks for submitting that and apologies for not getting to it before

choran avatar Aug 22 '17 10:08 choran

All good! Thanks

tejasmanohar avatar Aug 22 '17 17:08 tejasmanohar

np, I will leave this issue open in the meantime since, as noted, it is functionality that would be useful in the sdk

choran avatar Sep 11 '17 09:09 choran