Skip to main content

API Order By attribute list?

  • November 10, 2023
  • 5 replies
  • 421 views

  • Participating Frequently
monday API docs

What are the attributes/field in the column values that the specific column types are sorted by when using items query order_by? Like Board_Relation seems to be sorted according to the value of the DisplayValue field, but what about all the other types?

5 replies

Matias.Monday
Forum|alt.badge.img
  • monday.com Team Member
  • November 12, 2023

Hello there @EricM,

Which query are you using exactly?

Looking forward to hearing from you 🙂

Cheers,
Matias


  • Author
  • Participating Frequently
  • November 13, 2023

Hi @Matias.Monday ,
I am referring to a query like this:


Here I am sorting a time tracking column. I believe it is sorted according to the duration attribute/field. I am interested in knowing what attribute/field the other “ColumnValue” types are sorted according to.


Matias.Monday
Forum|alt.badge.img
  • monday.com Team Member
  • November 16, 2023

Hello again @EricM,

I spoke with the team in charge of our documentation and we will be adding this information to our docs soon 😁

You will find the relevant value taken into account in each case there.

Cheers,
Matias


  • Author
  • Participating Frequently
  • November 16, 2023

Hi @Matias.Monday ,
Thank you very much for getting back to me on this. I am happy to hear that this will be added to the documentation!


Matias.Monday
Forum|alt.badge.img
  • monday.com Team Member
  • November 16, 2023

Glad to help here @EricM !