Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I'm writing a simple notification mechanism for my D7 website that allows users to subscribe to a thread and receive notifications when the thread is updated. When I tried to add a node subscription, the autocomplete field generated an Ajax error. It appears to me the autocomplete still uses the D6 function db_rewrite_sql(). Also another error "Call to undefined function notifications_node_title2nid()" appeared when I saved the subscription. I was trying to solve the problem myself but got lost in the code. Really appreciate if someone could write a patch for it.
Comment | File | Size | Author |
---|---|---|---|
#1 | fix-node-autocomplete-1189988-2-D7.patch | 3.66 KB | webflo |
Comments
Comment #1
webflo CreditAttribution: webflo commentedHere is a patch. Please review.
Comment #2
webflo CreditAttribution: webflo commentedCommit 07490b4 on 7.x-1.x