We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 16ffc65 commit 4d02dadCopy full SHA for 4d02dad
app/Http/Controllers/BoardController.php
@@ -71,6 +71,14 @@ public function index($project_key) {
71
->whereIn('status', [ 'active', 'waiting' ])
72
->orderBy('no', 'asc')
73
->get();
74
+ // compatible with old data
75
+ foreach ($sprints as $sprint)
76
+ {
77
+ if (!$sprint->name)
78
79
+ $sprint->name = 'Sprint ' . $sprint->no;
80
+ }
81
82
83
$epics = Epic::where('project_key', $project_key)
84
->orderBy('sn', 'asc')
0 commit comments