Skip Navigation

[Gelöst] Custom search not displaying any info

Dieser Thread wurde gelöst. Hier ist eine Beschreibung des Problems und der Lösung.

Problem:

Views with search form does not return any result.

Solution:

That view is using option "order by custom field Member name", but none of posts, has value in custom field "Member name", they are empty, that conducts the problem.

If you are going to order the results by a custom fields, all posts should have the value in that custom fields, this is a wordpress limitation

Relevant Documentation:

This support ticket is created vor 6 Jahren, 1 Monat. 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.

Heute stehen keine Supporter zur Arbeit im Werkzeugsatz-Forum zur Verfügung. Sie können gern Tickets erstellen, die wir bearbeiten werden, sobald wir online sind. Vielen Dank für Ihr Verständnis.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

Dieses Thema enthält 2 Antworten, hat 2 Stimmen.

Zuletzt aktualisiert von alanS3341 vor 6 Jahren, 1 Monat.

Assistiert von: Luo Yang.

Author
Artikel
#1135500
2018-10-27_18-39-37.png
2018-10-27_18-39-21.png

I am trying to: implement a custom search on a website

Link to a page where the issue can be seen: versteckter Link

I expected to see: some answers when I make either a selection or show all before I make a selection in the custom search areas (there are 2).

Instead, I got: Nothing other than the custom search view

#1135925

Hi,

Thanks for the details, I can login your website and see the problem, please edit your post view "Member Custom Search View", in section "Ordering", you are using option: order by custom field "Member name", but both in member posts, there aren't value in custom field "Member name", they are empty, that conducts the problem, if you are going to order the results by a custom fields, all posts should have the value in that custom fields, this is a wordpress limitation, in your case, you just need to switch to order by post title, and test again.

#1136053

My issue is resolved now. Thank you!