If I search for content by a keyword, only published content is returned, but if I switch to the Locations tab, one of my unpublished dates is shown, even though it is not accessible by anyone except admins. This happens if logged in or not.

You can test by going to http://heartofbiking.org.nz/search/location/mapua - the first entry (grand opening) is unpublished - the status in the node table is 0 - but it is still shown here. If you do the same search on content it is not returned.

I've done a first look through the module source to see if I could offer a fix but I'm not familiar enough with the module to find the solution.

Drupal 6.22, Custom Search latest dev version (as of Oct 30), Location 6.x-3.1

Thanks.

Comments

heddn’s picture

Status: Active » Fixed

I'm taking some liberty but a support request from over a year ago is probably
fixed or irrelevant. If you disagree, please reopen and provide more
details. Perhaps please provide this in a patch.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.