Skip to content

Commit

Permalink
[server] Fix filtering number of outstanding reports on the statistic…
Browse files Browse the repository at this point in the history
…s page

The number of outstanding reports are not filtered by the BASELINE run filters
because the run ids in the compare data for the API function is not set.
  • Loading branch information
csordasmarton committed Feb 3, 2021
1 parent 8d32d97 commit 692e51b
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,10 @@ export default {
mixins: [ DateMixin ],
props: {
bus: { type: Object, required: true },
runIds: { type: Array, required: true },
runIds: {
required: true,
validator: v => typeof v === "object" || v === null
},
reportFilter: { type: Object, required: true },
},
data() {
Expand Down Expand Up @@ -186,6 +189,7 @@ export default {
rFilter.openReportsDate = this.getUnixTime(date[0]);
const cmpData = new CompareData({
runIds: this.runIds,
openReportsDate: this.getUnixTime(date[1]),
diffType: DiffType.NEW
});
Expand Down

0 comments on commit 692e51b

Please sign in to comment.