Example #1
0
 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());
 }
Example #2
0
 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());
 }