0

I need a bit of help with a simple view I have: I created a custom content type, imported about 900+ nodes into it, set up a view with Input Required + Exposed Filter based on the title + Ajax. The Exposed filter uses "contains".

It's working for the most part but some of the nodes don't come up, i.e. if you search "eggs" nothing comes up. Here's the view http://www.ovwrc.com/waste-lookup and you can see that "Eggs" exists as a node. http://www.ovwrc.com/waste-lookup/organics-green-cart/eggs .

I don't have any filters on the view except for 1. Is Published, 2. Is content type "Trash".

I have the problem with other items but I can't figure out the pattern for the effected items in order to troubleshoot.

EDIT: Thanks to help below, we've isolated it to views not returning results if the "body" field is empty. This is where I'm stuck now.

  • If you go to (in this specific case anyway)node/800/edit what is showing in the Title field? – Jimajamma Mar 12 '14 at 19:27
  • I renamed in "Title" to "Item" in the content type but it shows "Eggs": i.imgur.com/On3L3WV.png – Ash Mar 12 '14 at 19:30
  • Well something strange is certainly going on. When you enter eggs you get no results, but also, when you enter baz you at least get a message saying no results found. When you put in foo and bar you do get results, and they are formatted differently than the eggs node when you look at it directly. So next step is a screen shot of the View UI page for this... – Jimajamma Mar 12 '14 at 19:33
  • That, and/or what do the node edit pages for Fast food containers (paper) (the result of foo) and Plastic barrels (the result of bar) look like and do they obviously differ in any way from your eggs? – Jimajamma Mar 12 '14 at 19:37
  • 1
    Right. But you can select it specifically for the BODY field as well by just clicking on that field settings in the Views UI screen – Jimajamma Mar 12 '14 at 20:58

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.