* Resources - Fix resources not displayed in calendar if there's more than 20 in a category

This commit is contained in:
nathangray 2019-01-17 09:45:39 -07:00
parent c535708332
commit 979c96b854

View File

@ -596,7 +596,7 @@ class resources_bo
'deleted' => null 'deleted' => null
); );
$only_keys = 'res_id,name'; $only_keys = 'res_id,name';
$data = $this->so->search(array(),$only_keys,$order_by='name',$extra_cols='',$wildcard='%',$empty,$op='OR',$limit,$filter); $data = $this->so->search(array(),$only_keys,$order_by='name',$extra_cols='',$wildcard='%',$empty,$op='OR',false,$filter);
if(is_array($data) && $data) if(is_array($data) && $data)
{ {
foreach($data as $resource) foreach($data as $resource)