Skip to content
Snippets Groups Projects

Stop showing requests 15 minutes in advance

2 files
+ 3
1
Compare changes
  • Side-by-side
  • Inline

Files

@@ -370,7 +370,7 @@ public interface LabRequestRepository
@@ -370,7 +370,7 @@ public interface LabRequestRepository
.where(createFilterBooleanExpression(filter, qlr.session.in(labs).and(
.where(createFilterBooleanExpression(filter, qlr.session.in(labs).and(
qlr.session.type.eq(QueueSessionType.REGULAR)
qlr.session.type.eq(QueueSessionType.REGULAR)
.or(qlr.session.type.in(QueueSessionType.SLOTTED, QueueSessionType.EXAM)
.or(qlr.session.type.in(QueueSessionType.SLOTTED, QueueSessionType.EXAM)
.and(qlr.timeSlot.slot.opensAt.before(now().plusMinutes(10))))))
.and(qlr.timeSlot.slot.opensAt.before(now())))))
.and(matchesLanguagePreference(language)))));
.and(matchesLanguagePreference(language)))));
}
}
Loading