Skip Navigation

[Resolved] When more than 8 items in repeatable group, sort order does not work

This support ticket is created 3 years, 1 month ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

This topic contains 4 replies, has 2 voices.

Last updated by David 3 years, 1 month ago.

Author
Posts
#2176005

I am trying to display repeatable groups in a view. I have the view working and it is set to sort by toolset-post-sortorder.

But when there are more than 8 items in the repeatable fields, the sort order is not respected. The later items are appearing after the first item in the view.

Link to a page where the issue can be seen:
hidden link

I expected to see:
a layout like this: hidden link

Instead, I got:
The sort order is not working when there are more than 8 items in the repeatable groups.

I have tried switching to a different theme, checking post limits, running with minimal plugins, recreated the page and repeatable groups

#2176107

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

Can you please clarify when looking at those links for new and old sales what we are supposed to be looking at, how we know there is a problem with what we are looking at?

Thanks.

#2176169

Hi Nigel,

(forget about the old-sales page now)

On hidden link each square in the grid layout is a repeatable field group. So some have coloured backgrounds and text, some have images.

The view outputs the field groups in the layout like this (according to ascending toolset-post-sortorder):
1 2
3 4
5 6
7 8

But when there are more than 8, the output is like this:
1 10
11 12
2 3
4 5
6 7
8 9

Hope that clarifies. It's a real puzzler.

#2176171

Hi.

Just after I sent the response, I figured it out. Seeing the numbers laid out like that made me realise.

My ordering setting was "as a native custom field"

I change that to "as a number".

Problem solved. Sorry to bother you.

#2176173

My issue is resolved now. Thank you!