Skip Navigation

[Resolved] Custom search not displaying any info

This thread is resolved. Here is a description of the problem and solution.

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 6 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.

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)

This topic contains 2 replies, has 2 voices.

Last updated by alanS3341 6 years ago.

Assisted by: Luo Yang.

Author
Posts
#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: hidden 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!