Skip Navigation

[Resolved] Search and Filter by Repeatable field groups

This support ticket is created 5 years, 2 months 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.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
- 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 -
- 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 -

Supporter timezone: Europe/London (GMT+00:00)

This topic contains 8 replies, has 2 voices.

Last updated by Alessandro 5 years ago.

Assisted by: Nigel.

Author
Posts
#1348733

Hi,
I have a CPT named Location with a repeatable field group named Room.

Each Room has a Capacity (number) custom field

i would know about to Create a Search view to search and filter Location Room(s) by Capacity

#1348769

Nigel
Supporter

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

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

This currently isn't possible.

If you are trying to create a search of the Location post type which includes a filter for capacity (a field that is part of a repeatable field group) then it is not possible because it is not supported. Repeatable Field Groups are implemented as child posts and this effectively involves filtering by fields of related posts, which has not yet been implemented.

If that's the case I suggest you submit a request so that the product manager is aware of the demand when prioritising development work: https://toolset.com/home/contact-us/suggest-a-new-feature-for-toolset/

If you are trying to create a custom search of Rooms which includes a filter for capacity then that is not possible because of a bug, which is currently being worked on but for which I do not have a solution yet: https://toolset.com/errata/views-has-issues-when-creating-repeatable-fields-groups-fields-filters-and-when-displaying-the-view/

If it is the second case, I can escalate this thread so that it is attached to the internal ticket for the bug and I can update you when it is resolved.

#1348779

Hi,
i think this not totally correct

I would search for Room(s) filtering it by its custom fields. And one of your colleague of the support wrote me that this feature where integrated in the 2.9 version of views

You can read it here:
https://toolset.com/forums/topic/price-range-3/#post-1200806

#1348797

Nigel
Supporter

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

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

Unfortunately, as you will see in the erratum I linked to, it doesn't work. (I don't think it was implemented.)

The erratum is new. For some reason we haven't had people asking about this generally, but you are now the third person asking about it within a week. It has been raised with the Views developer, and I've seen progress in the internal tickets, but it isn't resolved yet.

Now that I know this is what you are referring to, I'll escalate this thread and attach it to those internal tickets, and I'll let you know when a solution is available, although I note the final comment of the developer is that it might take some time.

#1361083

Nigel
Supporter

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

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

Just a quick update to let you know that this has been fixed by the developer and once it has completed testing it will be made available in the next Views update.

I don't have an ETA for that, but I'll post a reminder when it is released.

#1368545

Nigel
Supporter

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

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

The update has now been released, so it should be possible to create searches of RFGs. Let me know if you still experience problems after updating, thanks.

#1374673

Ok so could you tell me how to use this feature?
While searching for RFG it results no items found

#1374675

I would search for location whose have:

room capacity <= search value (number)

Room capacity is a field of a RFG

#1376837

I will open a new ticket