]> CyberLeo.Net >> Repos - Github/sugarcrm.git/blob - tests/modules/UpgradeWizard/SugarMerge/ce_metadata_files/custom/modules/Contacts/metadata/searchdefs.php
Added unit tests.
[Github/sugarcrm.git] / tests / modules / UpgradeWizard / SugarMerge / ce_metadata_files / custom / modules / Contacts / metadata / searchdefs.php
1 <?php
2 $searchdefs ['Contacts'] = 
3 array (
4   'layout' => 
5   array (
6     'basic_search' => 
7     array (
8       'search_name' => 
9       array (
10         'name' => 'search_name',
11         'label' => 'LBL_NAME',
12         'type' => 'name',
13         'default' => true,
14         'width' => '10%',
15       ),
16       'test_c' => 
17       array (
18         'type' => 'varchar',
19         'default' => true,
20         'label' => 'LBL_TEST',
21         'width' => '10%',
22         'name' => 'test_c',
23       ),
24       'current_user_only' => 
25       array (
26         'name' => 'current_user_only',
27         'label' => 'LBL_CURRENT_USER_FILTER',
28         'type' => 'bool',
29         'default' => true,
30         'width' => '10%',
31       ),
32     ),
33     'advanced_search' => 
34     array (
35       'first_name' => 
36       array (
37         'name' => 'first_name',
38         'default' => true,
39         'width' => '10%',
40       ),
41       'email' => 
42       array (
43         'name' => 'email',
44         'label' => 'LBL_ANY_EMAIL',
45         'type' => 'name',
46         'default' => true,
47         'width' => '10%',
48       ),
49       'phone' => 
50       array (
51         'name' => 'phone',
52         'label' => 'LBL_ANY_PHONE',
53         'type' => 'name',
54         'default' => true,
55         'width' => '10%',
56       ),
57       'last_name' => 
58       array (
59         'name' => 'last_name',
60         'default' => true,
61         'width' => '10%',
62       ),
63       'address_street' => 
64       array (
65         'name' => 'address_street',
66         'label' => 'LBL_ANY_ADDRESS',
67         'type' => 'name',
68         'default' => true,
69         'width' => '10%',
70       ),
71       'address_city' => 
72       array (
73         'name' => 'address_city',
74         'label' => 'LBL_CITY',
75         'type' => 'name',
76         'default' => true,
77         'width' => '10%',
78       ),
79       'account_name' => 
80       array (
81         'name' => 'account_name',
82         'default' => true,
83         'width' => '10%',
84       ),
85       'address_state' => 
86       array (
87         'name' => 'address_state',
88         'label' => 'LBL_STATE',
89         'type' => 'name',
90         'default' => true,
91         'width' => '10%',
92       ),
93       'address_postalcode' => 
94       array (
95         'name' => 'address_postalcode',
96         'label' => 'LBL_POSTAL_CODE',
97         'type' => 'name',
98         'default' => true,
99         'width' => '10%',
100       ),
101       'assigned_user_id' => 
102       array (
103         'name' => 'assigned_user_id',
104         'type' => 'enum',
105         'label' => 'LBL_ASSIGNED_TO',
106         'function' => 
107         array (
108           'name' => 'get_user_array',
109           'params' => 
110           array (
111             0 => false,
112           ),
113         ),
114         'default' => true,
115         'width' => '10%',
116       ),
117       'primary_address_country' => 
118       array (
119         'name' => 'primary_address_country',
120         'label' => 'LBL_COUNTRY',
121         'type' => 'name',
122         'options' => 'countries_dom',
123         'default' => true,
124         'width' => '10%',
125       ),
126       'lead_source' => 
127       array (
128         'name' => 'lead_source',
129         'default' => true,
130         'width' => '10%',
131       ),
132       'test_c' => 
133       array (
134         'type' => 'varchar',
135         'default' => true,
136         'label' => 'LBL_TEST',
137         'width' => '10%',
138         'name' => 'test_c',
139       ),
140       'test2_c' => 
141       array (
142         'type' => 'varchar',
143         'default' => true,
144         'label' => 'LBL_TEST2',
145         'width' => '10%',
146         'name' => 'test2_c',
147       ),
148     ),
149   ),
150   'templateMeta' => 
151   array (
152     'maxColumns' => '3',
153     'widths' => 
154     array (
155       'label' => '10',
156       'field' => '30',
157     ),
158   ),
159 );
160 ?>