Changeset 3210 for branches/2.0/contactcenter/inc/class.ui_data.inc.php
- Timestamp:
- 09/02/10 11:51:12 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.0/contactcenter/inc/class.ui_data.inc.php
r3197 r3210 964 964 } 965 965 966 $result = $this->bo->find($find_field[0],$find_restric[0],$find_other[0] );966 $result = $this->bo->find($find_field[0],$find_restric[0],$find_other[0], $data['search_for'] != null); 967 967 968 968 $n_entries = count($result); … … 1210 1210 $final[3][$i][0] = $contact['companies']['company1']['company_name']?$contact['companies']['company1']['company_name']:'none'; 1211 1211 if($this->page_info['actual_catalog']['class']!='bo_global_ldap_catalog'){ 1212 $final[3][$i][1] = $contact['names_ordered'] ? urldecode( $contact['names_ordered']) : 'none';1212 $final[3][$i][1] = $contact['names_ordered'] ? urldecode(is_array($contact['names_ordered']) ? $contact['names_ordered'][0] : $contact['names_ordered']) : 'none'; 1213 1213 } 1214 1214 else { … … 2378 2378 //'contact.account_status', 2379 2379 'contact.account_visible' 2380 ), $rules, array('order' => $data['fields']['search'], 'sort' => 'ASC') );2380 ), $rules, array('order' => $data['fields']['search'], 'sort' => 'ASC'), $data['search_for'] != null); 2381 2381 } 2382 2382
Note: See TracChangeset
for help on using the changeset viewer.