add issue state selector
This commit is contained in:
parent
54ba249f52
commit
01bbae8d54
2 changed files with 9 additions and 1 deletions
|
@ -119,7 +119,7 @@ class GiteaApiController extends Controller
|
|||
}
|
||||
$from = $req->input('from_year') . '-' . $req->input('from_month') . '-01';
|
||||
$to = $req->input('to_year') . '-' . $req->input('to_month') . '-31';
|
||||
$this->export_issues($from, $to, ['state' => 'closed']);
|
||||
$this->export_issues($from, $to, ['state' => $req->input('issues_type')]);
|
||||
return view('backend', [
|
||||
'token' => getenv('GITEA_TOKEN')
|
||||
]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue