mirror of
https://bitbucket.org/jsuto/piler.git
synced 2025-06-13 01:37:02 +02:00
search for attachment names
This commit is contained in:
@ -8,6 +8,7 @@ class ControllerSearchHelper extends Controller {
|
||||
'date2' => '',
|
||||
'direction' => '',
|
||||
'size' => '',
|
||||
'aname' => '',
|
||||
'attachment_type' => '',
|
||||
'tag' => '',
|
||||
'note' => '',
|
||||
@ -44,7 +45,7 @@ class ControllerSearchHelper extends Controller {
|
||||
|
||||
if($this->request->post['searchtype'] == 'expert'){
|
||||
|
||||
if(isset($this->request->post['search']) && preg_match("/(from|to|subject|body|direction|d|size|date1|date2|attachment|a|tag|note|id)\:/", $this->request->post['search'])) {
|
||||
if(isset($this->request->post['search']) && preg_match("/(from|to|subject|body|direction|d|size|date1|date2|attachment|a|aname|tag|note|id)\:/", $this->request->post['search'])) {
|
||||
$this->a = $this->model_search_search->preprocess_post_expert_request($this->request->post);
|
||||
}
|
||||
else {
|
||||
|
Reference in New Issue
Block a user