From b31bc7a8adb5ff4cddf5b2601a264e6a50870d28 Mon Sep 17 00:00:00 2001
From: Marco Villegas <marvil07@gmail.com>
Date: Wed, 12 Jan 2011 21:49:58 -0500
Subject: [PATCH] Add vc_op_id as argument for commitlog_global_commits

---
 commitlog/includes/commitlog.views_default.inc |   40 ++++++++++++++++++++++++
 1 files changed, 40 insertions(+), 0 deletions(-)

diff --git commitlog/includes/commitlog.views_default.inc commitlog/includes/commitlog.views_default.inc
index a1e10f3..7bde4bd 100644
--- commitlog/includes/commitlog.views_default.inc
+++ commitlog/includes/commitlog.views_default.inc
@@ -1070,6 +1070,46 @@ function commitlog_views_default_views() {
       'relationship' => 'none',
     ),
   ));
+  $handler->override_option('arguments', array(
+    'vc_op_id' => 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' => 'vc_op_id',
+      'table' => 'versioncontrol_operations',
+      'field' => 'vc_op_id',
+      'validate_user_argument_type' => 'uid',
+      'validate_user_roles' => array(
+        '2' => 0,
+      ),
+      'relationship' => 'none',
+      'default_options_div_prefix' => '',
+      'default_argument_fixed' => '',
+      'default_argument_user' => 0,
+      'default_argument_php' => '',
+      'validate_argument_node_type' => array(
+        'page' => 0,
+        'story' => 0,
+      ),
+      'validate_argument_node_access' => 0,
+      'validate_argument_nid_type' => 'nid',
+      'validate_argument_vocabulary' => array(),
+      'validate_argument_type' => 'tid',
+      'validate_argument_transform' => 0,
+      'validate_user_restrict_roles' => 0,
+      'validate_argument_php' => '',
+    ),
+  ));
   $handler->override_option('access', array(
     'type' => 'none',
   ));
-- 
1.7.2.3

