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.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | views_savedsearches_default_views.patch | 12.92 KB | tmanhollan |
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.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | views_savedsearches_default_views.patch | 12.92 KB | tmanhollan |
Comments
Comment #1
attiks commentedI fixed this in the D7 port, see #939002: D7 port of Views Saved Searches
Comment #2
tmanhollan commentedFix 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.