Skip to main content

Items query is now returning items in order of id, rather than board position

  • December 21, 2024
  • 13 replies
  • 62 views

FrancisElliott

It seems as though the API is now returning items/subitems in order of ID ascending, rather than by their board position (Main Table). This is true even when using old API versions.

Is this intentional? It has broken several use cases for me, as I use the board order to express information.

If it is intentional, has it been announced anywhere? Can we change this via an argument? Please help!

Board (Main Table):

Query:

  boards(ids: 6774044620){
    items_page (limit: 50){
      items {
        id 
        name
        subitems{
          id
          name
        }
      }
    }
  }
}

Response:

13 replies

Matias.Monday
Forum|alt.badge.img
  • monday.com Team Member
  • December 22, 2024

Hello there @FrancisElliott,

On a small test I did I can see that if the board has items and subitems, the items come in the same order as you see them in the UI. The subitems are coming as “oldest first”. Are you saying that before you got the subitems in the same order as they were shown in each item via the UI?

Looking forward to hearing from you!

Cheers,
Matias


FrancisElliott
  • Author
  • Participating Frequently
  • December 22, 2024

That is correct. The subitems were returning in the order they were shown in the UI. This was the standard behavior for items and subitems. It appears to have changed.


Matias.Monday
Forum|alt.badge.img
  • monday.com Team Member
  • December 23, 2024

Hello again,

Matias here!

Thank you for that confirmation!

As far as I can see, that is still the case for items. I will check with the team about the subitems and let you know what they say!

Cheers,
Matias


FrancisElliott
  • Author
  • Participating Frequently
  • December 23, 2024

@Matias.Monday Having done some more digging, it appears that this change was made between the 14th and 17th of December. I can see this response on the 14th December still demonstrating the original behavior of returning subitems in the order they appear in the UI.


Matias.Monday
Forum|alt.badge.img
  • monday.com Team Member
  • December 31, 2024

Hello again @FrancisElliott ,

Thank you for that information!

I checked with our team and this will be fixed in the upcoming days, reverting the change you mention 😀


FrancisElliott
  • Author
  • Participating Frequently
  • December 31, 2024

Thank you @Matias.Monday!


Matias.Monday
Forum|alt.badge.img
  • monday.com Team Member
  • January 2, 2025

Happy to help @FrancisElliott !


samicaracand
Forum|alt.badge.img
  • Participating Frequently
  • January 5, 2025

@Matias.Monday Thanks for all the help. Please let us know once this is fixed. Happy new year!


FrancisElliott
  • Author
  • Participating Frequently
  • January 7, 2025

@Matias.Monday Just confirming that this issue remains ongoing.


Matias.Monday
Forum|alt.badge.img
  • monday.com Team Member
  • January 14, 2025

Hello there @FrancisElliott,

I heard back from the team and they mentioned that this should be resolved by the end of this week 😀


Matias.Monday
Forum|alt.badge.img
  • monday.com Team Member
  • January 16, 2025

Hello everyone!

A fix has been deployed for this 😀


FrancisElliott
  • Author
  • Participating Frequently
  • January 16, 2025

Looks to be working correctly! 👍


Matias.Monday
Forum|alt.badge.img
  • monday.com Team Member
  • January 19, 2025

I am glad that is the case!