Hi,

I have the following issue:
A user can subscribe to content of content types, for which the subscription is not enabled, by editing an existing subscription and referencing the particular node in the node autocomplete form (from content type with disabled subscription). I am using the global settings for all content types.

Looking at the code, I'm missing somehow in the notifications_node_autocomplete_title() function the filtering by enabled content types. Maybe we can get here the enabled content types from the settings variable notifications_content_type and pass it to the _notifications_node_references() function?

Greets,
Nikolay

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

xeniak’s picture

Yes, and disabled content types also appear in the dropdown select on the form for subscribing to content types. Here's a patch.