I have a view defined in code, but I get an error while trying to save the savedsearch because those views don't have a vid set.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

attiks’s picture

I fixed this in the D7 port, see #939002: D7 port of Views Saved Searches

tmanhollan’s picture

Fix for 6.x-1.0-beta4, mostly taken from attiks d7 patch. Includes changes to make notifications_views_savedsearches work with coded views as well. Also includes an update hook to adjust the database schema to accommodate the view_name field, update any existing savedsearches with the view_name that matches its vid, and to attempt to match up view names on any existing savedsearches on coded views (they'll all have vid = 0 in the database) based on matching display name and filter values.