Index: views/project_issue.views_default.inc =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/project_issue/views/project_issue.views_default.inc,v retrieving revision 1.43 diff -u -p -r1.43 project_issue.views_default.inc --- views/project_issue.views_default.inc 24 Mar 2009 00:19:12 -0000 1.43 +++ views/project_issue.views_default.inc 8 Apr 2009 22:48:14 -0000 @@ -917,6 +917,154 @@ function project_issue_views_default_vie 'default' => 0, )); $handler->override_option('sitename_title', FALSE); + $handler = $view->new_display('block', 'Block', 'block_1'); + $handler->override_option('relationships', array()); + $handler->override_option('fields', array( + 'title' => array( + 'label' => '', + 'alter' => array( + 'alter_text' => 0, + 'text' => '', + 'make_link' => 0, + 'path' => '', + 'alt' => '', + 'prefix' => '', + 'suffix' => '', + 'help' => '', + 'trim' => 0, + 'max_length' => '', + 'word_boundary' => 1, + 'ellipsis' => 1, + 'html' => 0, + ), + 'link_to_node' => 1, + 'exclude' => 0, + 'id' => 'title', + 'table' => 'node', + 'field' => 'title', + 'relationship' => 'none', + 'override' => array( + 'button' => 'Use default', + ), + ), + 'timestamp' => array( + 'label' => '', + 'alter' => array(), + 'link_to_node' => 0, + 'comments' => 0, + 'exclude' => 0, + 'id' => 'timestamp', + 'table' => 'history_user', + 'field' => 'timestamp', + 'relationship' => 'none', + ), + )); + $handler->override_option('sorts', array( + 'last_comment_timestamp' => array( + 'order' => 'DESC', + 'granularity' => 'second', + 'id' => 'last_comment_timestamp', + 'table' => 'node_comment_statistics', + 'field' => 'last_comment_timestamp', + 'relationship' => 'none', + ), + )); + $handler->override_option('arguments', array( + 'pid' => array( + 'default_action' => 'default', + 'style_plugin' => 'default_summary', + 'style_options' => array(), + 'wildcard' => '', + 'wildcard_substitution' => '', + 'title' => 'Issue Queue', + 'default_argument_type' => 'node', + 'default_argument' => '', + 'validate_type' => 'project_nid', + 'validate_fail' => 'not found', + 'break_phrase' => 0, + 'not' => 0, + 'id' => 'pid', + 'table' => 'project_issues', + 'field' => 'pid', + 'relationship' => 'none', + 'default_options_div_prefix' => '', + 'default_argument_user' => 0, + 'default_argument_fixed' => '', + 'default_argument_php' => '', + 'validate_user_argument_type' => 'uid', + 'validate_user_roles' => array( + '2' => 0, + '3' => 0, + '6' => 0, + '8' => 0, + '5' => 0, + '4' => 0, + '7' => 0, + ), + 'override' => array( + 'button' => 'Use default', + ), + 'validate_argument_node_type' => array( + 'image' => 0, + 'forum' => 0, + 'project_project' => 0, + 'project_release' => 0, + 'project_issue' => 0, + 'book' => 0, + 'page' => 0, + 'story' => 0, + ), + 'validate_argument_node_access' => 0, + 'validate_argument_nid_type' => 'nid', + 'validate_argument_vocabulary' => array( + '1' => 0, + '6' => 0, + '9' => 0, + '32' => 0, + '4' => 0, + '3' => 0, + '7' => 0, + '2' => 0, + '5' => 0, + '31' => 0, + ), + 'validate_argument_type' => 'tid', + 'validate_user_restrict_roles' => 0, + 'validate_argument_project_term_vocabulary' => array( + '3' => 0, + ), + 'validate_argument_project_term_argument_type' => 'tid', + 'validate_argument_project_term_argument_action_top_without' => 'pass', + 'validate_argument_project_term_argument_action_top_with' => 'pass', + 'validate_argument_project_term_argument_action_child' => 'pass', + 'validate_argument_php' => '', + ), + )); + $handler->override_option('filters', array( + 'status_extra' => array( + 'operator' => '=', + 'value' => '', + 'group' => '0', + 'exposed' => FALSE, + 'expose' => array( + 'operator' => FALSE, + 'label' => '', + ), + 'id' => 'status_extra', + 'table' => 'node', + 'field' => 'status_extra', + 'relationship' => 'none', + ), + )); + $handler->override_option('items_per_page', 4); + $handler->override_option('use_pager', '0'); + $handler->override_option('style_plugin', 'list'); + $handler->override_option('style_options', array( + 'grouping' => '', + 'type' => 'ul', + )); + $handler->override_option('block_description', 'Project: recent issues'); + $handler->override_option('block_caching', -1); $views[$view->name] = $view;