mirror of
https://bitbucket.org/jsuto/piler.git
synced 2025-06-12 23:37:02 +02:00
added folder handling to webui
This commit is contained in:
@ -17,6 +17,7 @@ class ControllerSearchHelper extends Controller {
|
||||
'note' => '',
|
||||
'ref' => '',
|
||||
'folders' => '',
|
||||
'extra_folders' => '',
|
||||
'any' => ''
|
||||
);
|
||||
|
||||
@ -94,6 +95,7 @@ class ControllerSearchHelper extends Controller {
|
||||
private function fixup_post_request() {
|
||||
if(isset($this->request->post['ref'])) { $this->a['ref'] = $this->request->post['ref']; }
|
||||
if(isset($this->request->post['folders'])) { $this->a['folders'] = $this->request->post['folders']; }
|
||||
if(isset($this->request->post['extra_folders'])) { $this->a['extra_folders'] = $this->request->post['extra_folders']; }
|
||||
|
||||
$this->a['sort'] = $this->request->post['sort'];
|
||||
$this->a['order'] = $this->request->post['order'];
|
||||
|
Reference in New Issue
Block a user