Skip to content

Commit c73b1e5

Browse files
committed
Adjustments
1 parent 7b3d6bc commit c73b1e5

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

src/Server/Coderr.Server.SqlServer/Web/Overview/GetOverviewHandler.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,9 @@ right join applications on (applicationid=applications.id)
142142
"SELECT sum(NumberOfReports) FROM IgnoredReports WHERE date >= @from ANd date <= @to";
143143
cmd.AddParameter("from", from);
144144
cmd.AddParameter("to", to);
145-
result.MissedReports = (int) cmd.ExecuteScalar();
145+
var value=cmd.ExecuteScalar();
146+
if (value != DBNull.Value)
147+
result.MissedReports = (int) value;
146148

147149
}
148150

src/Server/Coderr.Server.Web/ClientApp/components/manage/system/create/create.vue.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<h3>Optional information</h3>
1818
<p>
1919
<em>
20-
Specify the information below to see how your team compares to other similar teams.
20+
Specify the information below to see how your team compares to other similar teams.<br />(Do you have more errors? Are you correcting more or less errors than other teams?)
2121
</em>
2222
</p>
2323
<div class="form-group">
@@ -32,7 +32,7 @@ <h3>Optional information</h3>
3232
Estimated number of errors
3333
</label>
3434
<input type="number" class="form-control" name="NumberOfErrors" v-model="estimatedNumberOfErrors" placeholder="1337" />
35-
<em>Estimation of how many errors you think that Coderr will find during the first month for this application.</em>
35+
<em>Estimation of how many errors you think that Coderr will find during the first month for this application. See how well you know your application.</em>
3636
</div>
3737
</div>
3838
<div class="form-group">

0 commit comments

Comments
 (0)