In the newly implemented ApacheSolr search system on Drupal.org, in the block that filters by content type, the content types "poll" and "simplenews" are shown without their title, simply their result count shows. See the screenshot.

Comments

pwolanin’s picture

Status: Active » Needs review
StatusFileSize
new1.07 KB

Interesting - however, the cause is almost certainly that the modules providing these node types have been disabled, hence http://api.drupal.org/api/function/node_get_types/6 is not returning a string when we ask for the human-readable name for that type.

We could certainly just resort to the machine-readable name, I guess.

pwolanin’s picture

StatusFileSize
new1.16 KB

A more complete patch - gets both the block and the search results.

pwolanin’s picture

StatusFileSize
new1.16 KB

less 1 typo

pwolanin’s picture

Status: Needs review » Fixed

committed to 6.x

Status: Fixed » Closed (fixed)

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