Skip to content

Commit

Permalink
feat(ZMSKVR-75): calcualte in 6 months only
Browse files Browse the repository at this point in the history
  • Loading branch information
manjencic committed Feb 14, 2025
1 parent 3435021 commit be9ede3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zmsdb/src/Zmsdb/Query/Slot.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class Slot extends Base implements MappingInterface
SELECT MAX(updateTimestamp) AS dateString FROM slot WHERE availabilityID = :availabilityID AND status="free";';

const QUERY_LAST_IN_AVAILABILITY = '
SELECT MAX(datum) AS dateString FROM slot WHERE availabilityID = :availabilityID AND status="free";';
SELECT MAX(Datum) AS dateString FROM slot WHERE availabilityID = :availabilityID AND status="free";';

const QUERY_LAST_CHANGED_SCOPE = '
SELECT MAX(updateTimestamp) AS dateString FROM slot WHERE scopeID = :scopeID;';
Expand Down

0 comments on commit be9ede3

Please sign in to comment.