Skip to content
This repository has been archived by the owner on Dec 13, 2022. It is now read-only.

Commit

Permalink
fix(downtime): display only started downtimes (#10325)
Browse files Browse the repository at this point in the history
* edited makeXMLForDowntime.php

* add sql update script

* Revert "add sql update script"

This reverts commit a37a077.

* git rm composer.lock

* restored composer.lock and rebased from develop
  • Loading branch information
AssanDiomande committed Nov 4, 2021
1 parent 169633a commit 52c38da
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@
WHERE host_id = :hostId
AND type = 2
AND cancelled = 0
AND UNIX_TIMESTAMP(NOW()) >= actual_start_time
AND end_time > UNIX_TIMESTAMP(NOW())
ORDER BY actual_start_time'
);
Expand All @@ -111,6 +112,7 @@
AND service_id = :svcId
AND type = 1
AND cancelled = 0
AND UNIX_TIMESTAMP(NOW()) >= actual_start_time
AND end_time > UNIX_TIMESTAMP(NOW())
ORDER BY actual_start_time'
);
Expand Down

0 comments on commit 52c38da

Please sign in to comment.