Add item search for category + suppliers (#328)

This commit is contained in:
jekkos
2016-03-07 23:21:57 +01:00
parent fe2787217f
commit dfbab194de
4 changed files with 16 additions and 36 deletions

View File

@@ -120,7 +120,7 @@ class Items extends Secure_area implements iData_controller
$suggestions = $this->Item->get_search_suggestions($this->input->post_get('term'), array(
'search_custom' => $this->input->post('search_custom'),
'is_deleted' => !empty($this->input->post('is_deleted'))),
FALSE, $this->input->post('limit'));
FALSE);
echo json_encode($suggestions);
}