Browse Source

port for flag 3.x suite : views

Signed-off-by: bachy <git@g-u-i.net>
bachy 11 years ago
parent
commit
6793ae61a6
1 changed files with 3 additions and 3 deletions
  1. 3 3
      includes/flag_lists.views_default.inc

+ 3 - 3
includes/flag_lists.views_default.inc

@@ -321,12 +321,12 @@ function flag_lists_views_default_views() {
   $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */
   $handler = $view->new_display('default', 'Defaults', 'default');
   $handler->override_option('relationships', array(
-    'content_id' => array(
+    'entity_id' => array(
       'label' => 'Listed content',
       'required' => 1,
-      'id' => 'content_id',
+      'id' => 'entity_id',
       'table' => 'flag_lists_content',
-      'field' => 'content_id',
+      'field' => 'entity_id',
       'relationship' => 'none',
     ),
   ));