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.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | disabled-node-type-367361-3.patch | 1.16 KB | pwolanin |
| #2 | disabled-node-type-367361-2.patch | 1.16 KB | pwolanin |
| #1 | disabled-node-type-367361-1.patch | 1.07 KB | pwolanin |
| apachesolr.png | 97.15 KB | tstoeckler |
Comments
Comment #1
pwolanin commentedInteresting - 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.
Comment #2
pwolanin commentedA more complete patch - gets both the block and the search results.
Comment #3
pwolanin commentedless 1 typo
Comment #4
pwolanin commentedcommitted to 6.x