search alsoin field inventory-number

switch to planner-view of calendar by default
This commit is contained in:
Cornelius Weiß 2006-03-29 19:56:18 +00:00
parent 1fb094905a
commit 47d0963171
2 changed files with 3 additions and 3 deletions

View File

@ -50,7 +50,7 @@ class bo_resources
{ {
if ($this->debug) _debug_array($query); if ($this->debug) _debug_array($query);
$query['search'] = $query['search'] ? $query['search'] : '*'; $query['search'] = $query['search'] ? $query['search'] : '*';
$criteria = array('name' => $query['search'], 'short_description' => $query['search']); $criteria = array('name' => $query['search'], 'short_description' => $query['search'], 'inventory_number' => $query['search']);
$read_onlys = 'res_id,name,short_description,quantity,useable,bookable,buyable,cat_id,location,storage_info'; $read_onlys = 'res_id,name,short_description,quantity,useable,bookable,buyable,cat_id,location,storage_info';
$accessory_of = $query['view_accs_of'] ? $query['view_accs_of'] : -1; $accessory_of = $query['view_accs_of'] ? $query['view_accs_of'] : -1;

File diff suppressed because one or more lines are too long