Sauter la navigation

[Résolu] Post Form with relation

This support ticket is created Il y a 6 années et 2 mois. 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.

Sun Mon Tue Wed Thu Fri Sat
8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 - -
13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 - -

Supporter timezone: America/New_York (GMT-04:00)

Ce sujet contient 6 réponses, a 3 voix.

Dernière mise à jour par Christian Cox Il y a 6 années et 2 mois.

Assisté par: Christian Cox.

Auteur
Publications
#1144250

I am trying to:
Create a Post with 2 realations to parent records

Link to a page where the issue can be seen: lien caché

I expected to see: in the Field with the Label [Genossenschaftsmitglied] should be 2 records, that seems to be allright but in the field with the label Teilnehmer should be 18 records

Instead, I got: only 10 records out of 18

I can not find any customizing option.

#1144504

Hi, can you provide login credentials here so I can take a look?

#1144517

Please do not make changes in the structure of data or relations when this effects changes at the output of the records via REST API, becaues we retrieve the records into an iOS and Android APP.

#1144529

The post reference field seems to be working correctly. All the options will not be shown, by default. You must start typing, then matching results will be loaded. If you would prefer to show all options, add the use_select2="never" option to this field. The typeahead feature will be disabled and all results will be visible.

[cred_field field="vendornewsrelation" force_type="field" class="form-control" output="bootstrap" select_text="--- nicht eingestellt ---" use_select2="never"]
#1144814

Great, that works.
how can I show only the records from the logged-in user?

Les nouveaux fils créés par Christian Cox et associés à celui-ci sont repris ci-dessous :

https://toolset.com/fr/forums/topic/only-show-current-users-posts-in-post-reference-field/

#1145213

Shane
Supporter

Les langues: Anglais (English )

Fuseau horaire: America/Jamaica (GMT-05:00)

Hi Werner,

Christian is on Holiday today and will be back tomorrow to answer any concerns you may have.

Thanks,
Shane

#1145952

We have a one topic per ticket policy, so I've created a separate ticket where we can follow up to filter the post reference field: https://toolset.com/forums/topic/only-show-current-users-posts-in-post-reference-field/

Thanks!