Completed
Push — console-installer ( 3d54e5...e2b50d )
by Adam
69:10 queued 48:24
created
modules/Import/maps/ImportMapOutlook.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -49,11 +49,11 @@  discard block
 block discarded – undo
49 49
 
50 50
 class ImportMapOutlook extends ImportMapOther
51 51
 {
52
-	/**
52
+    /**
53 53
      * String identifier for this import
54 54
      */
55 55
     public $name = 'outlook';
56
-	/**
56
+    /**
57 57
      * Field delimiter
58 58
      */
59 59
     public $delimiter = ',';
@@ -61,7 +61,7 @@  discard block
 block discarded – undo
61 61
      * Field enclosure
62 62
      */
63 63
     public $enclosure = '"';
64
-	/**
64
+    /**
65 65
      * Do we have a header?
66 66
      */
67 67
     public $has_header = true;
@@ -72,7 +72,7 @@  discard block
 block discarded – undo
72 72
      * @param  string $module
73 73
      * @return array field mappings
74 74
      */
75
-	public function getMapping(
75
+    public function getMapping(
76 76
         $module
77 77
         )
78 78
     {
Please login to merge, or discard this patch.
modules/Import/maps/ImportMapGoogle.php 1 patch
Indentation   +27 added lines, -27 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
 
45 45
 class ImportMapGoogle extends ImportMapOther
46 46
 {
47
-	/**
47
+    /**
48 48
      * String identifier for this import
49 49
      */
50 50
     public $name = 'google';
@@ -55,38 +55,38 @@  discard block
 block discarded – undo
55 55
      * @param  string $module
56 56
      * @return array field mappings
57 57
      */
58
-	public function getMapping($module)
58
+    public function getMapping($module)
59 59
     {
60
-         $return_array = array(
61
-             'first_name' => array('sugar_key' => 'first_name', 'sugar_label' => '', 'default_label' => 'Given Name'),
62
-             'last_name' => array('sugar_key' => 'last_name', 'sugar_label' => '', 'default_label' => 'Family Name'),
63
-             'birthday' => array('sugar_key' => 'birthdate', 'sugar_label' => '', 'default_label' => 'Birthday'),
64
-             'title' => array('sugar_key' => 'title', 'sugar_label' => '', 'default_label' => 'Title'),
65
-             'notes' => array('sugar_key' => 'description', 'sugar_label' => '', 'default_label' => 'Notes'),
60
+            $return_array = array(
61
+                'first_name' => array('sugar_key' => 'first_name', 'sugar_label' => '', 'default_label' => 'Given Name'),
62
+                'last_name' => array('sugar_key' => 'last_name', 'sugar_label' => '', 'default_label' => 'Family Name'),
63
+                'birthday' => array('sugar_key' => 'birthdate', 'sugar_label' => '', 'default_label' => 'Birthday'),
64
+                'title' => array('sugar_key' => 'title', 'sugar_label' => '', 'default_label' => 'Title'),
65
+                'notes' => array('sugar_key' => 'description', 'sugar_label' => '', 'default_label' => 'Notes'),
66 66
 
67
-             'alt_address_street' => array('sugar_key' => 'alt_address_street', 'sugar_label' => '', 'default_label' => 'Home Street'),
68
-             'alt_address_postcode' => array('sugar_key' => 'alt_address_postalcode', 'sugar_label' => '', 'default_label' => 'Home Postcode'),
69
-             'alt_address_city' => array('sugar_key' => 'alt_address_city', 'sugar_label' => '', 'default_label' => 'Home City'),
70
-             'alt_address_state' => array('sugar_key' => 'alt_address_state', 'sugar_label' => '', 'default_label' => 'Home State'),
71
-             'alt_address_country' => array('sugar_key' => 'alt_address_country', 'sugar_label' => '', 'default_label' => 'Home Country'),
67
+                'alt_address_street' => array('sugar_key' => 'alt_address_street', 'sugar_label' => '', 'default_label' => 'Home Street'),
68
+                'alt_address_postcode' => array('sugar_key' => 'alt_address_postalcode', 'sugar_label' => '', 'default_label' => 'Home Postcode'),
69
+                'alt_address_city' => array('sugar_key' => 'alt_address_city', 'sugar_label' => '', 'default_label' => 'Home City'),
70
+                'alt_address_state' => array('sugar_key' => 'alt_address_state', 'sugar_label' => '', 'default_label' => 'Home State'),
71
+                'alt_address_country' => array('sugar_key' => 'alt_address_country', 'sugar_label' => '', 'default_label' => 'Home Country'),
72 72
 
73
-             'primary_address_street' => array('sugar_key' => 'primary_address_street', 'sugar_label' => '', 'default_label' => 'Work Street'),
74
-             'primary_address_postcode' => array('sugar_key' => 'primary_address_postalcode', 'sugar_label' => '', 'default_label' => 'Work Postcode'),
75
-             'primary_address_city' => array('sugar_key' => 'primary_address_city', 'sugar_label' => '', 'default_label' => 'Work City'),
76
-             'primary_address_state' => array('sugar_key' => 'primary_address_state', 'sugar_label' => '', 'default_label' => 'Work State'),
77
-             'primary_address_country' => array('sugar_key' => 'primary_address_country', 'sugar_label' => '', 'default_label' => 'Work Country'),
73
+                'primary_address_street' => array('sugar_key' => 'primary_address_street', 'sugar_label' => '', 'default_label' => 'Work Street'),
74
+                'primary_address_postcode' => array('sugar_key' => 'primary_address_postalcode', 'sugar_label' => '', 'default_label' => 'Work Postcode'),
75
+                'primary_address_city' => array('sugar_key' => 'primary_address_city', 'sugar_label' => '', 'default_label' => 'Work City'),
76
+                'primary_address_state' => array('sugar_key' => 'primary_address_state', 'sugar_label' => '', 'default_label' => 'Work State'),
77
+                'primary_address_country' => array('sugar_key' => 'primary_address_country', 'sugar_label' => '', 'default_label' => 'Work Country'),
78 78
 
79
-             'phone_main' => array('sugar_key' => 'phone_other', 'sugar_label' => '', 'default_label' => 'Main Phone'),
80
-             'phone_mobile' => array('sugar_key' => 'phone_mobile', 'sugar_label' => '', 'default_label' => 'Mobile Phone'),
81
-             'phone_home' => array('sugar_key' => 'phone_home', 'sugar_label' => '', 'default_label' => 'Home phone'),
82
-             'phone_work' => array('sugar_key' => 'phone_work', 'sugar_label' => '', 'default_label' => 'Work phone'),
83
-             'phone_fax' => array('sugar_key' => 'phone_fax', 'sugar_label' => '', 'default_label' => 'Fax phone'),
79
+                'phone_main' => array('sugar_key' => 'phone_other', 'sugar_label' => '', 'default_label' => 'Main Phone'),
80
+                'phone_mobile' => array('sugar_key' => 'phone_mobile', 'sugar_label' => '', 'default_label' => 'Mobile Phone'),
81
+                'phone_home' => array('sugar_key' => 'phone_home', 'sugar_label' => '', 'default_label' => 'Home phone'),
82
+                'phone_work' => array('sugar_key' => 'phone_work', 'sugar_label' => '', 'default_label' => 'Work phone'),
83
+                'phone_fax' => array('sugar_key' => 'phone_fax', 'sugar_label' => '', 'default_label' => 'Fax phone'),
84 84
 
85
-             'email1' => array('sugar_key' => 'email1', 'sugar_label' => 'LBL_EMAIL_ADDRESS', 'default_label' => 'Email Address'),
86
-             'email2' => array('sugar_key' => 'email2', 'sugar_label' => 'LBL_OTHER_EMAIL_ADDRESS', 'default_label' => 'Other Email'),
85
+                'email1' => array('sugar_key' => 'email1', 'sugar_label' => 'LBL_EMAIL_ADDRESS', 'default_label' => 'Email Address'),
86
+                'email2' => array('sugar_key' => 'email2', 'sugar_label' => 'LBL_OTHER_EMAIL_ADDRESS', 'default_label' => 'Other Email'),
87 87
 
88
-             'assigned_user_name' => array('sugar_key' => 'assigned_user_name', 'sugar_help_key' => 'LBL_EXTERNAL_ASSIGNED_TOOLTIP', 'sugar_label' => 'LBL_ASSIGNED_TO_NAME', 'default_label' => 'Assigned To'),
89
-             'team_name' => array('sugar_key' => 'team_name', 'sugar_help_key' => 'LBL_EXTERNAL_TEAM_TOOLTIP','sugar_label' => 'LBL_TEAMS', 'default_label' => 'Teams'),
88
+                'assigned_user_name' => array('sugar_key' => 'assigned_user_name', 'sugar_help_key' => 'LBL_EXTERNAL_ASSIGNED_TOOLTIP', 'sugar_label' => 'LBL_ASSIGNED_TO_NAME', 'default_label' => 'Assigned To'),
89
+                'team_name' => array('sugar_key' => 'team_name', 'sugar_help_key' => 'LBL_EXTERNAL_TEAM_TOOLTIP','sugar_label' => 'LBL_TEAMS', 'default_label' => 'Teams'),
90 90
             );
91 91
 
92 92
         if($module == 'Users')
Please login to merge, or discard this patch.
modules/Import/maps/ImportMapSalesforce.php 1 patch
Indentation   +13 added lines, -13 removed lines patch added patch discarded remove patch
@@ -49,11 +49,11 @@  discard block
 block discarded – undo
49 49
 
50 50
 class ImportMapSalesforce extends ImportMapOther
51 51
 {
52
-	/**
52
+    /**
53 53
      * String identifier for this import
54 54
      */
55 55
     public $name = 'salesforce';
56
-	/**
56
+    /**
57 57
      * Field delimiter
58 58
      */
59 59
     public $delimiter = ',';
@@ -61,18 +61,18 @@  discard block
 block discarded – undo
61 61
      * Field enclosure
62 62
      */
63 63
     public $enclosure = '"';
64
-	/**
64
+    /**
65 65
      * Do we have a header?
66 66
      */
67 67
     public $has_header = true;
68 68
 
69
-	/**
69
+    /**
70 70
      * Gets the default mapping for a module
71 71
      *
72 72
      * @param  string $module
73 73
      * @return array field mappings
74 74
      */
75
-	public function getMapping(
75
+    public function getMapping(
76 76
         $module
77 77
         )
78 78
     {
@@ -151,15 +151,15 @@  discard block
 block discarded – undo
151 151
         }
152 152
     }
153 153
 	
154
-	/**
155
-	* @see ImportMapOther::getIgnoredFields()
154
+    /**
155
+     * @see ImportMapOther::getIgnoredFields()
156 156
      */
157
-	public function getIgnoredFields(
158
-		$module
159
-		)
160
-	{
161
-		return array_merge(parent::getIgnoredFields($module),array('id'));
162
-	}
157
+    public function getIgnoredFields(
158
+        $module
159
+        )
160
+    {
161
+        return array_merge(parent::getIgnoredFields($module),array('id'));
162
+    }
163 163
 }
164 164
 
165 165
 
Please login to merge, or discard this patch.
modules/Import/maps/ImportMapOther.php 1 patch
Indentation   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -47,11 +47,11 @@  discard block
 block discarded – undo
47 47
 
48 48
 class ImportMapOther
49 49
 {
50
-	/**
50
+    /**
51 51
      * String identifier for this import
52 52
      */
53 53
     public $name = 'other';
54
-	/**
54
+    /**
55 55
      * Field delimiter
56 56
      */
57 57
     public $delimiter;
@@ -59,18 +59,18 @@  discard block
 block discarded – undo
59 59
      * Field enclosure
60 60
      */
61 61
     public $enclosure;
62
-	/**
62
+    /**
63 63
      * Do we have a header?
64 64
      */
65 65
     public $has_header = true;
66 66
 
67
-	/**
67
+    /**
68 68
      * Gets the default mapping for a module
69 69
      *
70 70
      * @param  string $module
71 71
      * @return array field mappings
72 72
      */
73
-	public function getMapping(
73
+    public function getMapping(
74 74
         $module
75 75
         )
76 76
     {
@@ -142,18 +142,18 @@  discard block
 block discarded – undo
142 142
         }
143 143
     }
144 144
 	
145
-	/**
145
+    /**
146 146
      * Returns a list of fields that should be ignorred for the module during import
147 147
      *
148 148
      * @param  string $module
149 149
      * @return array of fields to ignor
150 150
      */
151
-	public function getIgnoredFields(
152
-		$module
153
-		)
154
-	{
155
-		return array();
156
-	}
151
+    public function getIgnoredFields(
152
+        $module
153
+        )
154
+    {
155
+        return array();
156
+    }
157 157
 }
158 158
 
159 159
 
Please login to merge, or discard this patch.
modules/Import/maps/ImportMap.php 1 patch
Indentation   +13 added lines, -13 removed lines patch added patch discarded remove patch
@@ -175,19 +175,19 @@  discard block
 block discarded – undo
175 175
      * @see SugarBean::retrieve()
176 176
      */
177 177
     public function retrieve($id = -1, $encode=true,$deleted=true)
178
-	{
179
-	    $returnVal = parent::retrieve($id,$encode,$deleted);
178
+    {
179
+        $returnVal = parent::retrieve($id,$encode,$deleted);
180 180
 
181
-	    if ( !($returnVal instanceOf $this) ) {
182
-	        return $returnVal;
183
-	    }
181
+        if ( !($returnVal instanceOf $this) ) {
182
+            return $returnVal;
183
+        }
184 184
 
185
-	    if ( $this->source == 'tab' && $this->delimiter == '' ) {
186
-	        $this->delimiter = "\t";
187
-	    }
185
+        if ( $this->source == 'tab' && $this->delimiter == '' ) {
186
+            $this->delimiter = "\t";
187
+        }
188 188
 
189
-	    return $this;
190
-	}
189
+        return $this;
190
+    }
191 191
 
192 192
     /**
193 193
      * Save
@@ -372,10 +372,10 @@  discard block
 block discarded – undo
372 372
         //list of field values we track during import wizard
373 373
         $import_step_fields = array(
374 374
         //step1
375
-          //  'import_module', 'source', 'custom_enclosure', 'custom_enclosure_other', 'custom_delimiter', 'type',
375
+            //  'import_module', 'source', 'custom_enclosure', 'custom_enclosure_other', 'custom_delimiter', 'type',
376 376
         //step2
377
-           // 'custom_delimiter', 'custom_enclosure', 'type', 'source', 'source_id', 'import_module', 'has_header',
378
-         //step3
377
+            // 'custom_delimiter', 'custom_enclosure', 'type', 'source', 'source_id', 'import_module', 'has_header',
378
+            //step3
379 379
             'display_tabs_def','custom_delimiter', 'custom_enclosure', 'import_type', 'source', 'source_id', 'import_module', 'has_header', 'importlocale_charset',
380 380
             'importlocale_dateformat', 'importlocale_timeformat', 'importlocale_timezone', 'importlocale_currency',
381 381
             'importlocale_default_currency_significant_digits', 'importlocale_num_grp_sep', 'importlocale_dec_sep',
Please login to merge, or discard this patch.
modules/Cases/metadata/accountsquickcreatedefs.php 1 patch
Indentation   +13 added lines, -13 removed lines patch added patch discarded remove patch
@@ -40,39 +40,39 @@
 block discarded – undo
40 40
 $viewdefs['Cases']['AccountsQuickCreate'] = array(
41 41
 'templateMeta' => array('form' => 
42 42
                             array (
43
-                              'hidden' => 
44
-                              array (
43
+                                'hidden' => 
44
+                                array (
45 45
                                 0 => '<input type="hidden" name="account_id" value="{$smarty.request.account_id}">',
46 46
                                 1 => '<input type="hidden" name="account_name" value="{$smarty.request.account_name}">',
47
-                              ),
47
+                                ),
48 48
                             ),
49 49
                         'maxColumns' => '2', 
50 50
                         'widths' => array(
51 51
                                         array('label' => '10', 'field' => '30'), 
52 52
                                         array('label' => '10', 'field' => '30')
53 53
                                         ),
54
-                       ),
54
+                        ),
55 55
 'panels' =>
56 56
 
57 57
 array (
58 58
   
59
-  array (
59
+    array (
60 60
     array ('name'=>'name', 'displayParams'=>array('size'=>65, 'required'=>true)),
61 61
     'priority'
62
-  ),
62
+    ),
63 63
   
64
-  array (
64
+    array (
65 65
     'status',
66 66
     array('name'=>'account_name', 'type'=>'readonly'),
67
-  ),
67
+    ),
68 68
   
69
-  array (
70 69
     array (
71
-      'name' => 'description',
72
-      'displayParams' => array ('rows' => '4','cols' => '60'),
73
-      'nl2br' => true,
70
+    array (
71
+        'name' => 'description',
72
+        'displayParams' => array ('rows' => '4','cols' => '60'),
73
+        'nl2br' => true,
74
+    ),
74 75
     ),
75
-  ),
76 76
 
77 77
 ),
78 78
 
Please login to merge, or discard this patch.
modules/Cases/metadata/additionalDetails.php 1 patch
Indentation   +21 added lines, -21 removed lines patch added patch discarded remove patch
@@ -42,31 +42,31 @@
 block discarded – undo
42 42
     return additionalDetailsaCase($fields);
43 43
 }
44 44
 function additionalDetailsaCase($fields) {
45
-	static $mod_strings;
46
-	if(empty($mod_strings)) {
47
-		global $current_language;
48
-		$mod_strings = return_module_language($current_language, 'Cases');
49
-	}
45
+    static $mod_strings;
46
+    if(empty($mod_strings)) {
47
+        global $current_language;
48
+        $mod_strings = return_module_language($current_language, 'Cases');
49
+    }
50 50
 		
51
-	$overlib_string = '';
51
+    $overlib_string = '';
52 52
 		
53
-	if(!empty($fields['DESCRIPTION'])) { 
54
-		$overlib_string .= '<b>'. $mod_strings['LBL_DESCRIPTION'] . '</b> ' . substr($fields['DESCRIPTION'], 0, 300);
55
-		if(strlen($fields['DESCRIPTION']) > 300) $overlib_string .= '...';
56
-		$overlib_string .= '<br>';
57
-	}
58
-	if(!empty($fields['RESOLUTION'])) { 
59
-		$overlib_string .= '<b>'. $mod_strings['LBL_RESOLUTION'] . '</b> ' . substr($fields['RESOLUTION'], 0, 300);
60
-		if(strlen($fields['RESOLUTION']) > 300) $overlib_string .= '...';
61
-	}		
53
+    if(!empty($fields['DESCRIPTION'])) { 
54
+        $overlib_string .= '<b>'. $mod_strings['LBL_DESCRIPTION'] . '</b> ' . substr($fields['DESCRIPTION'], 0, 300);
55
+        if(strlen($fields['DESCRIPTION']) > 300) $overlib_string .= '...';
56
+        $overlib_string .= '<br>';
57
+    }
58
+    if(!empty($fields['RESOLUTION'])) { 
59
+        $overlib_string .= '<b>'. $mod_strings['LBL_RESOLUTION'] . '</b> ' . substr($fields['RESOLUTION'], 0, 300);
60
+        if(strlen($fields['RESOLUTION']) > 300) $overlib_string .= '...';
61
+    }		
62 62
 	
63
-	return array('fieldToAddTo' => 'NAME', 
64
-				 'string' => $overlib_string, 
65
-				 'width' => '400',
66
-				 'editLink' => "index.php?action=EditView&module=Cases&return_module=Cases&record={$fields['ID']}", 
67
-				 'viewLink' => "index.php?action=DetailView&module=Cases&return_module=Cases&record={$fields['ID']}");
63
+    return array('fieldToAddTo' => 'NAME', 
64
+                    'string' => $overlib_string, 
65
+                    'width' => '400',
66
+                    'editLink' => "index.php?action=EditView&module=Cases&return_module=Cases&record={$fields['ID']}", 
67
+                    'viewLink' => "index.php?action=DetailView&module=Cases&return_module=Cases&record={$fields['ID']}");
68 68
 }
69 69
  
70
- ?>
70
+    ?>
71 71
  
72 72
  
73 73
\ No newline at end of file
Please login to merge, or discard this patch.
modules/Cases/metadata/editviewdefs.php 1 patch
Indentation   +66 added lines, -66 removed lines patch added patch discarded remove patch
@@ -39,143 +39,143 @@
 block discarded – undo
39 39
 
40 40
 $viewdefs ['Cases'] =
41 41
 array (
42
-  'EditView' => 
43
-  array (
42
+    'EditView' => 
43
+    array (
44 44
     'templateMeta' => 
45 45
     array (
46
-      'maxColumns' => '2',
47
-      'widths' => 
48
-      array (
46
+        'maxColumns' => '2',
47
+        'widths' => 
48
+        array (
49 49
         0 => 
50 50
         array (
51
-          'label' => '10',
52
-          'field' => '30',
51
+            'label' => '10',
52
+            'field' => '30',
53 53
         ),
54 54
         1 => 
55 55
         array (
56
-          'label' => '10',
57
-          'field' => '30',
56
+            'label' => '10',
57
+            'field' => '30',
58 58
         ),
59
-      ),
60
-      'includes' => 
61
-      array (
62
-          0 =>
63
-              array (
64
-                  'file' => 'include/javascript/bindWithDelay.js',
65
-              ),
59
+        ),
60
+        'includes' => 
61
+        array (
62
+            0 =>
63
+                array (
64
+                    'file' => 'include/javascript/bindWithDelay.js',
65
+                ),
66 66
         1 =>
67 67
         array (
68
-          'file' => 'modules/AOK_KnowledgeBase/AOK_KnowledgeBase_SuggestionBox.js',
68
+            'file' => 'modules/AOK_KnowledgeBase/AOK_KnowledgeBase_SuggestionBox.js',
69
+        ),
70
+            2 =>
71
+                array (
72
+                    'file' => 'include/javascript/qtip/jquery.qtip.min.js',
73
+                ),
69 74
         ),
70
-          2 =>
71
-              array (
72
-                  'file' => 'include/javascript/qtip/jquery.qtip.min.js',
73
-              ),
74
-      ),
75
-      'useTabs' => false,
76
-      'tabDefs' => 
77
-      array (
75
+        'useTabs' => false,
76
+        'tabDefs' => 
77
+        array (
78 78
         'LBL_CASE_INFORMATION' => 
79 79
         array (
80
-          'newTab' => false,
81
-          'panelDefault' => 'expanded',
80
+            'newTab' => false,
81
+            'panelDefault' => 'expanded',
82 82
         ),
83
-      ),
84
-      'form' => 
85
-      array (
83
+        ),
84
+        'form' => 
85
+        array (
86 86
         'enctype' => 'multipart/form-data',
87
-      ),
87
+        ),
88 88
     ),
89 89
     'panels' => 
90 90
     array (
91
-      'lbl_case_information' => 
92
-      array (
91
+        'lbl_case_information' => 
92
+        array (
93 93
         0 => 
94 94
         array (
95
-          0 => 
96
-          array (
95
+            0 => 
96
+            array (
97 97
             'name' => 'case_number',
98 98
             'type' => 'readonly',
99
-          ),
100
-          1 => 'priority',
99
+            ),
100
+            1 => 'priority',
101 101
         ),
102 102
         1 => 
103 103
         array (
104
-          0 => 
105
-          array (
104
+            0 => 
105
+            array (
106 106
             'name' => 'state',
107 107
             'comment' => 'The state of the case (i.e. open/closed)',
108 108
             'label' => 'LBL_STATE',
109
-          ),
110
-          1 => 'status',
109
+            ),
110
+            1 => 'status',
111 111
         ),
112 112
         2 => 
113 113
         array (
114
-          0 => 'type',
115
-          1 => 'account_name',
114
+            0 => 'type',
115
+            1 => 'account_name',
116 116
         ),
117 117
         3 => 
118 118
         array (
119
-          0 => 
120
-          array (
119
+            0 => 
120
+            array (
121 121
             'name' => 'name',
122 122
             'displayParams' => 
123 123
             array (
124
-              //'size' => 75,
124
+                //'size' => 75,
125
+            ),
125 126
             ),
126
-          ),
127 127
             1 =>
128 128
                 array (
129 129
                     'name' => 'suggestion_box',
130
-                  //'studio' => 'visible',
130
+                    //'studio' => 'visible',
131 131
                     'label' => 'LBL_SUGGESTION_BOX'
132 132
                 ),
133 133
         ),
134 134
         4 =>
135 135
         array (
136
-          0 => 
137
-          array (
136
+            0 => 
137
+            array (
138 138
             'name' => 'description',
139 139
             'nl2br' => true,
140
-          ),
140
+            ),
141 141
         ),
142 142
         5 =>
143 143
         array (
144
-          0 => 
145
-          array (
144
+            0 => 
145
+            array (
146 146
             'name' => 'resolution',
147 147
             'nl2br' => true,
148
-          ),
148
+            ),
149 149
         ),
150 150
         6 =>
151 151
         array (
152
-          0 => 
153
-          array (
152
+            0 => 
153
+            array (
154 154
             'name' => 'update_text',
155 155
             'studio' => 'visible',
156 156
             'label' => 'LBL_UPDATE_TEXT',
157
-          ),
158
-          1 => 
159
-          array (
157
+            ),
158
+            1 => 
159
+            array (
160 160
             'name' => 'internal',
161 161
             'studio' => 'visible',
162 162
             'label' => 'LBL_INTERNAL',
163
-          ),
163
+            ),
164 164
         ),
165 165
         7 =>
166 166
         array (
167
-          0 => 
168
-          array (
167
+            0 => 
168
+            array (
169 169
             'name' => 'case_update_form',
170 170
             'studio' => 'visible',
171
-          ),
171
+            ),
172 172
         ),
173 173
         8 =>
174 174
         array (
175
-          0 => 'assigned_user_name',
175
+            0 => 'assigned_user_name',
176 176
         ),
177
-      ),
177
+        ),
178
+    ),
178 179
     ),
179
-  ),
180 180
 );
181 181
 ?>
Please login to merge, or discard this patch.
modules/Cases/metadata/SearchFields.php 1 patch
Indentation   +54 added lines, -54 removed lines patch added patch discarded remove patch
@@ -40,110 +40,110 @@
 block discarded – undo
40 40
 global $current_user;
41 41
 $module_name = "Cases";
42 42
 $searchFields['Cases'] = array (
43
-  'name' => 
44
-  array (
43
+    'name' => 
44
+    array (
45 45
     'query_type' => 'default',
46
-  ),
47
-  'account_name' => 
48
-  array (
46
+    ),
47
+    'account_name' => 
48
+    array (
49 49
     'query_type' => 'default',
50 50
     'db_field' => 
51 51
     array (
52
-      0 => 'accounts.name',
52
+        0 => 'accounts.name',
53
+    ),
53 54
     ),
54
-  ),
55
-  'status' => 
56
-  array (
55
+    'status' => 
56
+    array (
57 57
     'query_type' => 'default',
58 58
     'options' => 'case_status_dom',
59 59
     'template_var' => 'STATUS_OPTIONS',
60
-  ),
61
-  'priority' => 
62
-  array (
60
+    ),
61
+    'priority' => 
62
+    array (
63 63
     'query_type' => 'default',
64 64
     'options' => 'case_priority_dom',
65 65
     'template_var' => 'PRIORITY_OPTIONS',
66 66
     'options_add_blank' => true,
67
-  ),
68
-  'case_number' => 
69
-  array (
67
+    ),
68
+    'case_number' => 
69
+    array (
70 70
     'query_type' => 'default',
71 71
     'operator' => 'in',
72
-  ),
73
-  'current_user_only' => 
74
-  array (
72
+    ),
73
+    'current_user_only' => 
74
+    array (
75 75
     'query_type' => 'default',
76 76
     'db_field' => 
77 77
     array (
78
-      0 => 'assigned_user_id',
78
+        0 => 'assigned_user_id',
79 79
     ),
80 80
     'my_items' => true,
81 81
     'vname' => 'LBL_CURRENT_USER_FILTER',
82 82
     'type' => 'bool',
83
-  ),
84
-  'assigned_user_id' => 
85
-  array (
83
+    ),
84
+    'assigned_user_id' => 
85
+    array (
86 86
     'query_type' => 'default',
87
-  ),
88
-  'open_only' => 
89
-  array (
87
+    ),
88
+    'open_only' => 
89
+    array (
90 90
     'query_type' => 'default',
91 91
     'db_field' => 
92 92
     array (
93
-      0 => 'status',
93
+        0 => 'status',
94 94
     ),
95 95
     'operator' => 'not in',
96 96
     'closed_values' => 
97 97
     array (
98
-      0 => 'Closed',
99
-      1 => 'Rejected',
100
-      2 => 'Duplicate',
101
-      3 => 'Closed_Closed',
102
-      4 => 'Closed_Rejected',
103
-      5 => 'Closed_Duplicate',
98
+        0 => 'Closed',
99
+        1 => 'Rejected',
100
+        2 => 'Duplicate',
101
+        3 => 'Closed_Closed',
102
+        4 => 'Closed_Rejected',
103
+        5 => 'Closed_Duplicate',
104 104
     ),
105 105
     'type' => 'bool',
106
-  ),
107
-  'range_date_entered' => 
108
-  array (
106
+    ),
107
+    'range_date_entered' => 
108
+    array (
109 109
     'query_type' => 'default',
110 110
     'enable_range_search' => true,
111 111
     'is_date_field' => true,
112
-  ),
113
-  'start_range_date_entered' => 
114
-  array (
112
+    ),
113
+    'start_range_date_entered' => 
114
+    array (
115 115
     'query_type' => 'default',
116 116
     'enable_range_search' => true,
117 117
     'is_date_field' => true,
118
-  ),
119
-  'end_range_date_entered' => 
120
-  array (
118
+    ),
119
+    'end_range_date_entered' => 
120
+    array (
121 121
     'query_type' => 'default',
122 122
     'enable_range_search' => true,
123 123
     'is_date_field' => true,
124
-  ),
125
-  'range_date_modified' => 
126
-  array (
124
+    ),
125
+    'range_date_modified' => 
126
+    array (
127 127
     'query_type' => 'default',
128 128
     'enable_range_search' => true,
129 129
     'is_date_field' => true,
130
-  ),
131
-  'start_range_date_modified' => 
132
-  array (
130
+    ),
131
+    'start_range_date_modified' => 
132
+    array (
133 133
     'query_type' => 'default',
134 134
     'enable_range_search' => true,
135 135
     'is_date_field' => true,
136
-  ),
137
-  'end_range_date_modified' => 
138
-  array (
136
+    ),
137
+    'end_range_date_modified' => 
138
+    array (
139 139
     'query_type' => 'default',
140 140
     'enable_range_search' => true,
141 141
     'is_date_field' => true,
142
-  ),
143
-  'state' => 
144
-  array (
142
+    ),
143
+    'state' => 
144
+    array (
145 145
     'query_type' => 'default',
146
-  ),
146
+    ),
147 147
     'favorites_only' => array(
148 148
         'query_type'=>'format',
149 149
         'operator' => 'subquery',
Please login to merge, or discard this patch.