fix for bug #665 search not working

This commit is contained in:
Cornelius Weiß 2007-05-04 11:37:19 +00:00
parent 2bdd4e9f37
commit 673ab75e7f

View File

@ -68,7 +68,7 @@ class bo_resources
$order_by = $query['order'] ? $query['order'].' '. $query['sort'] : ''; $order_by = $query['order'] ? $query['order'].' '. $query['sort'] : '';
$start = (int)$query['start']; $start = (int)$query['start'];
$rows = $this->so->search($criteria,$read_onlys,$order_by,'','',$empty=False,$op='OR',$start,$filter,$join='',$need_full_no_count=false); $rows = $this->so->search($criteria,$read_onlys,$order_by,'','%',$empty=False,$op='OR',$start,$filter,$join='',$need_full_no_count=false);
$nr = $this->so->total; $nr = $this->so->total;
// we are called to serve bookable resources (e.g. calendar-dialog) // we are called to serve bookable resources (e.g. calendar-dialog)