Project:Flag Note
Version:6.x-1.1
Component:Miscellaneous
Category:support request
Priority:normal
Assigned:Unassigned
Status:needs review

Issue Summary

I want to have a view set up to show a user's flagged content along with their flag note.
The way I currently have it set up in very inconsistent, and Id like to know what I'm doing wrong.

For instance, If I use a flag a node, it may appear twice. Or, It may appear on 2 users views, and not others. Not sure what Im doing wrong but I will attach the view settings I am using and hopefully someone can guide me in the right direction.

Thanks,
Chris

AttachmentSize
screenshot1.png45.64 KB

Comments

#1

$view = new view;
$view->name = 'favoritevenuespt2';
$view->description = 'favoritevenuespt2';
$view->tag = '';
$view->view_php = '';
$view->base_table = 'node';
$view->is_cacheable = FALSE;
$view->api_version = 2;
$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(
'flag_content_rel' => array(
'label' => 'flag',
'required' => 1,
'flag' => 'favorite',
'user_scope' => 'any',
'id' => 'flag_content_rel',
'table' => 'node',
'field' => 'flag_content_rel',
'override' => array(
'button' => 'Override',
),
'relationship' => 'none',
),
'uid' => array(
'label' => 'Flag user',
'required' => 0,
'id' => 'uid',
'table' => 'flag_content',
'field' => 'uid',
'relationship' => 'flag_content_rel',
'override' => array(
'button' => 'Override',
),
),
'flag_note_node_rel' => array(
'label' => 'Flag note on node',
'required' => 1,
'flag' => 'favorite',
'user_scope' => 'any',
'id' => 'flag_note_node_rel',
'table' => 'node',
'field' => 'flag_note_node_rel',
'relationship' => 'none',
),
'parent' => array(
'label' => 'Parent',
'required' => 0,
'id' => 'parent',
'table' => 'term_hierarchy',
'field' => 'parent',
'relationship' => 'none',
),
'term_node_tid' => array(
'label' => 'term',
'required' => 0,
'vids' => array(
'7' => 7,
'2' => 0,
'6' => 0,
'3' => 0,
'4' => 0,
),
'id' => 'term_node_tid',
'table' => 'node',
'field' => 'term_node_tid',
'relationship' => 'none',
),
'flag_note_node_rel_1' => array(
'label' => 'Flag note on node',
'required' => 1,
'flag' => 'favorite',
'user_scope' => 'current',
'id' => 'flag_note_node_rel_1',
'table' => 'node',
'field' => 'flag_note_node_rel',
'relationship' => 'none',
),
'flag_note_predefined_rel' => array(
'id' => 'flag_note_predefined_rel',
'table' => 'flag_note',
'field' => 'flag_note_predefined_rel',
'relationship' => 'flag_note_node_rel',
),
));
$handler->override_option('fields', array(
'name_1' => array(
'label' => '',
'alter' => array(
'alter_text' => 0,
'text' => '',
'make_link' => 0,
'path' => '',
'link_class' => '',
'alt' => '',
'prefix' => '',
'suffix' => '',
'target' => '',
'help' => '',
'trim' => 0,
'max_length' => '',
'word_boundary' => 1,
'ellipsis' => 1,
'strip_tags' => 0,
'html' => 0,
),
'empty' => '',
'hide_empty' => 0,
'empty_zero' => 0,
'link_to_taxonomy' => 0,
'exclude' => 0,
'id' => 'name_1',
'table' => 'term_data',
'field' => 'name',
'relationship' => 'flag_note_predefined_rel',
),
'field_venue_image_fid' => array(
'label' => '',
'alter' => array(
'alter_text' => 0,
'text' => '',
'make_link' => 0,
'path' => '',
'link_class' => '',
'alt' => '',
'prefix' => '',
'suffix' => '',
'target' => '',
'help' => '',
'trim' => 0,
'max_length' => '',
'word_boundary' => 1,
'ellipsis' => 1,
'strip_tags' => 0,
'html' => 0,
),
'empty' => '',
'hide_empty' => 0,
'empty_zero' => 0,
'link_to_node' => 0,
'label_type' => 'none',
'format' => 'user_image_thumbnail_linked',
'multiple' => array(
'group' => TRUE,
'multiple_number' => '',
'multiple_from' => '',
'multiple_reversed' => FALSE,
),
'exclude' => 0,
'id' => 'field_venue_image_fid',
'table' => 'node_data_field_venue_image',
'field' => 'field_venue_image_fid',
'override' => array(
'button' => 'Override',
),
'relationship' => 'none',
),
'title' => array(
'label' => '',
'alter' => array(
'alter_text' => 0,
'text' => '',
'make_link' => 0,
'path' => '',
'link_class' => '',
'alt' => '',
'prefix' => '',
'suffix' => '',
'target' => '',
'help' => '',
'trim' => 0,
'max_length' => '',
'word_boundary' => 1,
'ellipsis' => 1,
'strip_tags' => 0,
'html' => 0,
),
'empty' => '',
'hide_empty' => 0,
'empty_zero' => 0,
'link_to_node' => 1,
'exclude' => 0,
'id' => 'title',
'table' => 'node',
'field' => 'title',
'override' => array(
'button' => 'Override',
),
'relationship' => 'none',
),
'field_pulse_venue_city_value' => array(
'label' => '',
'alter' => array(
'alter_text' => 0,
'text' => '[field_pulse_venue_city_value]',
'make_link' => 0,
'path' => '',
'link_class' => '',
'alt' => '',
'prefix' => '',
'suffix' => '',
'target' => '',
'help' => '',
'trim' => 0,
'max_length' => '',
'word_boundary' => 1,
'ellipsis' => 1,
'strip_tags' => 0,
'html' => 0,
),
'empty' => '',
'hide_empty' => 0,
'empty_zero' => 0,
'link_to_node' => 0,
'label_type' => 'none',
'format' => 'default',
'multiple' => array(
'group' => TRUE,
'multiple_number' => '',
'multiple_from' => '',
'multiple_reversed' => FALSE,
),
'exclude' => 1,
'id' => 'field_pulse_venue_city_value',
'table' => 'node_data_field_pulse_venue_city',
'field' => 'field_pulse_venue_city_value',
'override' => array(
'button' => 'Override',
),
'relationship' => 'none',
),
'field_pulse_venue_city_value_1' => array(
'label' => '',
'alter' => array(
'alter_text' => 0,
'text' => '',
'make_link' => 0,
'path' => '',
'link_class' => '',
'alt' => '',
'prefix' => '',
'suffix' => '',
'target' => '',
'help' => '',
'trim' => 0,
'max_length' => '',
'word_boundary' => 1,
'ellipsis' => 1,
'strip_tags' => 0,
'html' => 0,
),
'empty' => '',
'hide_empty' => 0,
'empty_zero' => 0,
'link_to_node' => 0,
'label_type' => 'none',
'format' => 'default',
'multiple' => array(
'group' => TRUE,
'multiple_number' => '',
'multiple_from' => '',
'multiple_reversed' => FALSE,
),
'exclude' => 0,
'id' => 'field_pulse_venue_city_value_1',
'table' => 'node_data_field_pulse_venue_city',
'field' => 'field_pulse_venue_city_value',
'override' => array(
'button' => 'Override',
),
'relationship' => 'none',
),
'note' => array(
'label' => '',
'alter' => array(
'alter_text' => 0,
'text' => '',
'make_link' => 0,
'path' => '',
'link_class' => '',
'alt' => '',
'prefix' => '',
'suffix' => '',
'target' => '',
'help' => '',
'trim' => 0,
'max_length' => '',
'word_boundary' => 1,
'ellipsis' => 1,
'strip_tags' => 0,
'html' => 0,
),
'empty' => '',
'hide_empty' => 1,
'empty_zero' => 0,
'exclude' => 0,
'id' => 'note',
'table' => 'flag_note',
'field' => 'note',
'relationship' => 'flag_note_node_rel',
),
));
$handler->override_option('arguments', array(
'uid' => array(
'default_action' => 'ignore',
'style_plugin' => 'default_summary',
'style_options' => array(),
'wildcard' => 'all',
'wildcard_substitution' => 'All',
'title' => '',
'breadcrumb' => '',
'default_argument_type' => 'fixed',
'default_argument' => '',
'validate_type' => 'none',
'validate_fail' => 'not found',
'break_phrase' => 0,
'not' => 0,
'id' => 'uid',
'table' => 'users',
'field' => 'uid',
'validate_user_argument_type' => 'uid',
'validate_user_roles' => array(
'2' => 0,
'3' => 0,
),
'relationship' => 'uid',
'default_options_div_prefix' => '',
'default_argument_user' => 0,
'default_argument_fixed' => '',
'default_argument_php' => '',
'validate_argument_node_type' => array(
'blog' => 0,
'poll' => 0,
'microblog' => 0,
'forum' => 0,
'panel' => 0,
'book' => 0,
'group' => 0,
'node_gallery_gallery' => 0,
'node_gallery_image' => 0,
'page' => 0,
'profile' => 0,
'simplenews' => 0,
'story' => 0,
'uprofile' => 0,
'venues' => 0,
),
'validate_argument_node_access' => 0,
'validate_argument_nid_type' => 'nid',
'validate_argument_vocabulary' => array(
'2' => 0,
'6' => 0,
'3' => 0,
'4' => 0,
),
'validate_argument_type' => 'tid',
'validate_argument_transform' => 0,
'validate_user_restrict_roles' => 0,
'validate_argument_node_flag_name' => '*relationship*',
'validate_argument_node_flag_test' => 'flaggable',
'validate_argument_node_flag_id_type' => 'id',
'validate_argument_user_flag_name' => '*relationship*',
'validate_argument_user_flag_test' => 'flaggable',
'validate_argument_user_flag_id_type' => 'id',
'validate_argument_is_member' => 'OG_VIEWS_DO_NOT_VALIDATE_MEMBERSHIP',
'validate_argument_group_node_type' => array(
'group' => 0,
),
'validate_argument_php' => '',
),
));
$handler->override_option('filters', array(
'status' => array(
'operator' => '=',
'value' => '1',
'group' => '0',
'exposed' => FALSE,
'expose' => array(
'operator' => FALSE,
'label' => '',
),
'id' => 'status',
'table' => 'node',
'field' => 'status',
'override' => array(
'button' => 'Override',
),
'relationship' => 'none',
),
'type' => array(
'operator' => 'in',
'value' => array(
'venues' => 'venues',
),
'group' => '0',
'exposed' => FALSE,
'expose' => array(
'operator' => FALSE,
'label' => '',
),
'id' => 'type',
'table' => 'node',
'field' => 'type',
'override' => array(
'button' => 'Override',
),
'relationship' => 'none',
),
));
$handler->override_option('access', array(
'type' => 'none',
));
$handler->override_option('cache', array(
'type' => 'none',
));
$handler->override_option('title', 'Favorite Venues');
$handler->override_option('empty', 'No favorites at this time.');
$handler->override_option('empty_format', '1');
$handler->override_option('items_per_page', 0);
$handler->override_option('style_plugin', 'table');
$handler->override_option('style_options', array(
'grouping' => '',
'override' => 1,
'sticky' => 0,
'order' => 'asc',
'columns' => array(
'name_1' => 'name_1',
'field_venue_image_fid' => 'field_venue_image_fid',
'title' => 'title',
'field_pulse_venue_city_value' => 'field_pulse_venue_city_value',
'field_pulse_venue_city_value_1' => 'title',
'note' => 'note',
),
'info' => array(
'name_1' => array(
'sortable' => 0,
'separator' => '',
),
'field_venue_image_fid' => array(
'separator' => '',
),
'title' => array(
'sortable' => 0,
'separator' => '
',
),
'field_pulse_venue_city_value' => array(
'sortable' => 0,
'separator' => '',
),
'field_pulse_venue_city_value_1' => array(
'sortable' => 0,
'separator' => '',
),
'note' => array(
'sortable' => 0,
'separator' => '',
),
),
'default' => 'name_1',
));
$handler = $view->new_display('panel_pane', 'Content pane', 'panel_pane_1');
$handler->override_option('pane_title', 'Recommended Venues');
$handler->override_option('pane_description', '');
$handler->override_option('pane_category', array(
'name' => 'View panes',
'weight' => 0,
));
$handler->override_option('allow', array(
'use_pager' => FALSE,
'items_per_page' => FALSE,
'offset' => FALSE,
'link_to_view' => FALSE,
'more_link' => FALSE,
'path_override' => FALSE,
'title_override' => FALSE,
'exposed_form' => FALSE,
'fields_override' => FALSE,
));
$handler->override_option('argument_input', array(
'uid' => array(
'type' => 'panel',
'context' => 'node.nid',
'context_optional' => 0,
'panel' => '0',
'fixed' => '',
'label' => 'User: Uid',
),
));
$handler->override_option('link_to_view', 0);
$handler->override_option('inherit_panels_path', 0);
$handler = $view->new_display('block', 'Block', 'block_1');
$handler->override_option('block_description', '');
$handler->override_option('block_caching', -1);

#2

Now I have it showing the proper venues on the view, but only shows it for the logged in user, and dosent show other users flagged content in the view.

Not sure what it could be. I have tried different configs all day!

heres the export to what IM currently using:

$view = new view;
$view->name = 'favoritevenuespt2';
$view->description = 'favoritevenuespt2';
$view->tag = '';
$view->view_php = '';
$view->base_table = 'node';
$view->is_cacheable = FALSE;
$view->api_version = 2;
$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(
'flag_content_rel' => array(
'label' => 'flag',
'required' => 1,
'flag' => 'favorite',
'user_scope' => 'current',
'id' => 'flag_content_rel',
'table' => 'node',
'field' => 'flag_content_rel',
'override' => array(
'button' => 'Override',
),
'relationship' => 'none',
),
'uid' => array(
'label' => 'Flag user',
'required' => 0,
'id' => 'uid',
'table' => 'flag_content',
'field' => 'uid',
'relationship' => 'flag_content_rel',
'override' => array(
'button' => 'Override',
),
),
'flag_note_node_rel' => array(
'label' => 'Flag note on node',
'required' => 1,
'flag' => 'favorite',
'user_scope' => 'current',
'id' => 'flag_note_node_rel',
'table' => 'node',
'field' => 'flag_note_node_rel',
'relationship' => 'none',
),
'flag_note_predefined_rel' => array(
'id' => 'flag_note_predefined_rel',
'table' => 'flag_note',
'field' => 'flag_note_predefined_rel',
'relationship' => 'flag_note_node_rel',
),
));
$handler->override_option('fields', array(
'name_1' => array(
'label' => '',
'alter' => array(
'alter_text' => 0,
'text' => '',
'make_link' => 0,
'path' => '',
'link_class' => '',
'alt' => '',
'prefix' => '',
'suffix' => '',
'target' => '',
'help' => '',
'trim' => 0,
'max_length' => '',
'word_boundary' => 1,
'ellipsis' => 1,
'strip_tags' => 0,
'html' => 0,
),
'empty' => '',
'hide_empty' => 1,
'empty_zero' => 0,
'link_to_taxonomy' => 0,
'exclude' => 0,
'id' => 'name_1',
'table' => 'term_data',
'field' => 'name',
'relationship' => 'flag_note_predefined_rel',
),
'field_venue_image_fid' => array(
'label' => '',
'alter' => array(
'alter_text' => 0,
'text' => '',
'make_link' => 0,
'path' => '',
'link_class' => '',
'alt' => '',
'prefix' => '',
'suffix' => '',
'target' => '',
'help' => '',
'trim' => 0,
'max_length' => '',
'word_boundary' => 1,
'ellipsis' => 1,
'strip_tags' => 0,
'html' => 0,
),
'empty' => '',
'hide_empty' => 0,
'empty_zero' => 0,
'link_to_node' => 0,
'label_type' => 'none',
'format' => 'user_image_thumbnail_linked',
'multiple' => array(
'group' => TRUE,
'multiple_number' => '',
'multiple_from' => '',
'multiple_reversed' => FALSE,
),
'exclude' => 0,
'id' => 'field_venue_image_fid',
'table' => 'node_data_field_venue_image',
'field' => 'field_venue_image_fid',
'override' => array(
'button' => 'Override',
),
'relationship' => 'none',
),
'title' => array(
'label' => '',
'alter' => array(
'alter_text' => 0,
'text' => '',
'make_link' => 0,
'path' => '',
'link_class' => '',
'alt' => '',
'prefix' => '',
'suffix' => '',
'target' => '',
'help' => '',
'trim' => 0,
'max_length' => '',
'word_boundary' => 1,
'ellipsis' => 1,
'strip_tags' => 0,
'html' => 0,
),
'empty' => '',
'hide_empty' => 0,
'empty_zero' => 0,
'link_to_node' => 1,
'exclude' => 0,
'id' => 'title',
'table' => 'node',
'field' => 'title',
'override' => array(
'button' => 'Override',
),
'relationship' => 'none',
),
'field_pulse_venue_city_value_1' => array(
'label' => '',
'alter' => array(
'alter_text' => 0,
'text' => '',
'make_link' => 0,
'path' => '',
'link_class' => '',
'alt' => '',
'prefix' => '',
'suffix' => '',
'target' => '',
'help' => '',
'trim' => 0,
'max_length' => '',
'word_boundary' => 1,
'ellipsis' => 1,
'strip_tags' => 0,
'html' => 0,
),
'empty' => '',
'hide_empty' => 0,
'empty_zero' => 0,
'link_to_node' => 0,
'label_type' => 'none',
'format' => 'default',
'multiple' => array(
'group' => TRUE,
'multiple_number' => '',
'multiple_from' => '',
'multiple_reversed' => FALSE,
),
'exclude' => 0,
'id' => 'field_pulse_venue_city_value_1',
'table' => 'node_data_field_pulse_venue_city',
'field' => 'field_pulse_venue_city_value',
'override' => array(
'button' => 'Override',
),
'relationship' => 'none',
),
'note' => array(
'label' => '',
'alter' => array(
'alter_text' => 0,
'text' => '',
'make_link' => 0,
'path' => '',
'link_class' => '',
'alt' => '',
'prefix' => '',
'suffix' => '',
'target' => '',
'help' => '',
'trim' => 0,
'max_length' => '',
'word_boundary' => 1,
'ellipsis' => 1,
'strip_tags' => 0,
'html' => 0,
),
'empty' => '',
'hide_empty' => 1,
'empty_zero' => 0,
'exclude' => 0,
'id' => 'note',
'table' => 'flag_note',
'field' => 'note',
'relationship' => 'flag_note_node_rel',
),
));
$handler->override_option('arguments', array(
'uid' => array(
'default_action' => 'default',
'style_plugin' => 'default_summary',
'style_options' => array(),
'wildcard' => 'all',
'wildcard_substitution' => 'All',
'title' => '',
'breadcrumb' => '',
'default_argument_type' => 'user',
'default_argument' => '',
'validate_type' => 'none',
'validate_fail' => 'not found',
'break_phrase' => 0,
'not' => 0,
'id' => 'uid',
'table' => 'users',
'field' => 'uid',
'validate_user_argument_type' => 'uid',
'validate_user_roles' => array(
'2' => 0,
'3' => 0,
'5' => 0,
),
'relationship' => 'uid',
'default_options_div_prefix' => '',
'default_argument_user' => 1,
'default_argument_fixed' => '',
'default_argument_php' => '',
'validate_argument_node_type' => array(
'blog' => 0,
'poll' => 0,
'chatroom' => 0,
'chat' => 0,
'microblog' => 0,
'forum' => 0,
'panel' => 0,
'book' => 0,
'group' => 0,
'page' => 0,
'photo' => 0,
'picture' => 0,
'profile' => 0,
'schedule' => 0,
'simplenews' => 0,
'story' => 0,
'uprofile' => 0,
'venues' => 0,
'video' => 0,
),
'validate_argument_node_access' => 0,
'validate_argument_nid_type' => 'nid',
'validate_argument_vocabulary' => array(
'2' => 0,
'6' => 0,
'3' => 0,
'4' => 0,
'8' => 0,
'7' => 0,
),
'validate_argument_type' => 'tid',
'validate_argument_transform' => 0,
'validate_user_restrict_roles' => 0,
'validate_argument_node_flag_name' => '*relationship*',
'validate_argument_node_flag_test' => 'flaggable',
'validate_argument_node_flag_id_type' => 'id',
'validate_argument_user_flag_name' => '*relationship*',
'validate_argument_user_flag_test' => 'flaggable',
'validate_argument_user_flag_id_type' => 'id',
'validate_argument_is_member' => 'OG_VIEWS_DO_NOT_VALIDATE_MEMBERSHIP',
'validate_argument_group_node_type' => array(
'group' => 0,
),
'validate_argument_php' => '',
),
));
$handler->override_option('filters', array(
'status' => array(
'operator' => '=',
'value' => '1',
'group' => '0',
'exposed' => FALSE,
'expose' => array(
'operator' => FALSE,
'label' => '',
),
'id' => 'status',
'table' => 'node',
'field' => 'status',
'override' => array(
'button' => 'Override',
),
'relationship' => 'none',
),
'type' => array(
'operator' => 'in',
'value' => array(
'venues' => 'venues',
),
'group' => '0',
'exposed' => FALSE,
'expose' => array(
'operator' => FALSE,
'label' => '',
),
'id' => 'type',
'table' => 'node',
'field' => 'type',
'override' => array(
'button' => 'Override',
),
'relationship' => 'none',
),
));
$handler->override_option('access', array(
'type' => 'none',
));
$handler->override_option('cache', array(
'type' => 'none',
));
$handler->override_option('title', 'Favorite Venues');
$handler->override_option('empty', 'No favorites at this time.');
$handler->override_option('empty_format', '1');
$handler->override_option('items_per_page', 0);
$handler->override_option('style_plugin', 'table');
$handler->override_option('style_options', array(
'grouping' => '',
'override' => 1,
'sticky' => 0,
'order' => 'asc',
'columns' => array(
'name_1' => 'name_1',
'field_venue_image_fid' => 'field_venue_image_fid',
'title' => 'title',
'field_pulse_venue_city_value' => 'field_pulse_venue_city_value',
'field_pulse_venue_city_value_1' => 'title',
'note' => 'note',
),
'info' => array(
'name_1' => array(
'sortable' => 0,
'separator' => '',
),
'field_venue_image_fid' => array(
'separator' => '',
),
'title' => array(
'sortable' => 0,
'separator' => '
',
),
'field_pulse_venue_city_value' => array(
'sortable' => 0,
'separator' => '',
),
'field_pulse_venue_city_value_1' => array(
'sortable' => 0,
'separator' => '',
),
'note' => array(
'sortable' => 0,
'separator' => '',
),
),
'default' => 'name_1',
));
$handler = $view->new_display('panel_pane', 'Content pane', 'panel_pane_1');
$handler->override_option('pane_title', 'Recommended Venues');
$handler->override_option('pane_description', '');
$handler->override_option('pane_category', array(
'name' => 'View panes',
'weight' => 0,
));
$handler->override_option('allow', array(
'use_pager' => FALSE,
'items_per_page' => FALSE,
'offset' => FALSE,
'link_to_view' => FALSE,
'more_link' => FALSE,
'path_override' => FALSE,
'title_override' => FALSE,
'exposed_form' => FALSE,
'fields_override' => FALSE,
));
$handler->override_option('argument_input', array(
'uid' => array(
'type' => 'panel',
'context' => 'node.nid',
'context_optional' => 0,
'panel' => '0',
'fixed' => '',
'label' => 'User: Uid',
),
));
$handler->override_option('link_to_view', 0);
$handler->override_option('inherit_panels_path', 0);
$handler = $view->new_display('block', 'Block', 'block_1');
$handler->override_option('block_description', '');
$handler->override_option('block_caching', -1);

AttachmentSize
screenshot2.jpg 135.55 KB

#3

Status:active» fixed

You have a bunch of relationships on your view. I recommend you start by reducing to JUST the relationship(s) you need -- the flag and the flag user. See if that returns the data you want; it seems most likely to me that the extra data you're getting is coming from the additional relationships.

Remember that any time you add a relationship, what you get is a matrix that is the product of all sets. i.e, when you relate nodes to flags to users, you get 1 record for every combination of node, flag and user. I think the flag relationship will always give you just one flag, but you still get all nodes * all users. You seem to have the right filters to reduce to just one user, from the argument. You do need to make sure your argument is configured correctly to give you a user, as well.

Lastly...I'm afraid people in the Views' issue queue probably don't know a lot of specifics about flag.module, particularly the other relationships you have there. You likely need to ask those questions in the issue queue for whichever module is in use.

I'm going to mark this fixed, since this is the best answer we're likely to be able to give. If you need further assistance you may need to move this issue to flag or one of the subsidiary modules providing the relationship.

#4

This is still not working no matter what config I use or relationships I take away.

The best I could get was the proper flagged nodes for the current user, but this does not help as I want other members to see other members flagged content...

Ill check with the the FLAG mod.

Thanks,
Chris

#5

I found where the problem lies but still not sure how to fix.

Its when I go to add the flag note field. I add the relationship (which is nessasary to display the flag note text), but when I add the flag note text field, it shows flagged nodes for other users, ect and disregards the UID argument

#6

You'll have to ask in the queue for what ever module provides that relationship. As I said, folks in Views aren't going to know much about specific contrib module data. flag itself is more likely than others due to its popularity, but I know nothing about flag note.

#7

Project:Views» Flag Note
Version:6.x-2.9» 6.x-1.1
Status:fixed» active

add flag note text field causes duplicate entries and disregards UID argument. I can export the view again if needed. If the flag note text field is not included, It shows the correct flagged nodes without the note...

#8

To prevent any confusion I am attaching several screenshots that may be of further help.

I'm thinking since the flagnote uses taxonomy, I may need an argument here for taxonomy terms?? Not sure.

Any help is greatly appreciated.
Chris

#9

AttachmentSize
Without_FlagNote_Field.png 101.67 KB

#10

AttachmentSize
After_adding_FlagNote_field.png 94.05 KB

#11

i found this is not only occuring when adding flagnote text but also the when using pre-defined note relationship and using taxonomy term field. They appear, but it returns alot more results then what it should. it looks like im missing an argument or filter somewhere?

#12

Status:active» needs review

first of all, you don't have to use any between the 'flag' relationships, just use the flag note relationship.
then try to set 'distinct' if you still get duplicates. moreover, if you chose to keep a flag history in flag note settings, you must add another relationship to hide the old entries.

#13

I am thinking about testing this module. Is this a potential problem I should test for? Is views integration not complete?
Thank you

#14

views integration is complete. about this issue i'm just waiting for user's answer.

#15

i tried the suggestions and still does not work for me. Still gives me duplicate and additional results. decided to go a different route for now due to time restrictions. I may revisit this later.

nobody click here