When a check is made to see if a node can be indexed the node type variable is checked first, then if the node type can be indexed the database is checked to see if the individual node can be indexed. If there is no entry in the database because the node hasn't been updated and explicitly allowed to be indexed since the upgrade to this branch. If a node type is added and a node of that type is updated the default is to not have the checkbox checked in the node form. Thus unless a site administrator goes through all nodes of that type and checks the box, or write an update hook in a custom module to add the nodes to the database.
I would like a checkbox on the configuration page to allow for this (include by node type unless explicitly excluded) functionality.
Comment | File | Size | Author |
---|---|---|---|
#3 | allow_node_type_to_be-2834389-3.patch | 2.7 KB | jrglasgow |
Comments
Comment #2
jrglasgow CreditAttribution: jrglasgow commentedattached is a patch to add this feature
Comment #3
jrglasgow CreditAttribution: jrglasgow commentedthe last patch accidentally included a fix for another issue, this is a better patch
Comment #4
jrglasgow CreditAttribution: jrglasgow commentedComment #5
schiavone CreditAttribution: schiavone commentedThanks. Will review.
Comment #6
timwood@schiavone did you mean to assign this issue to me? If so, how can I help?
Comment #7
schiavone CreditAttribution: schiavone commented@timwood oops
Comment #8
schiavone CreditAttribution: schiavone commentedComment #10
schiavone CreditAttribution: schiavone at Snake Hill Web Agency commentedThis patch is now included in the 7.x-5.4 release