public function postSaveAction(Table $table) { $filters = $this->post()->get('fields', []); //$relationFilters = $this->post()->get('relations', []); $_SESSION['pckg']['dynamic']['view']['table_' . $table->id]['view']['fields'] = $filters; //$_SESSION['pckg']['dynamic']['view']['table_' . $table->id]['view']['relations'] = $relationFilters; return $this->response()->respondWithSuccessOrRedirect($table->getViewUrl()); }
public function postSaveAction(Table $table) { $groups = $this->post()->get('groups', []); $_SESSION['pckg']['dynamic']['view']['table_' . $table->id]['view']['group'] = $groups; return $this->response()->respondWithSuccessOrRedirect($table->getViewUrl()); }