Skip to content

Commit

Permalink
#2078 ts forecast loads all trainer data (#2079)
Browse files Browse the repository at this point in the history
* #2078 ts forecast loads all trainer data

* #2078 release_notes.md
  • Loading branch information
wsbrenk committed Jun 6, 2024
1 parent bacfca7 commit c82b69f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/module/tsforecast/TrainerCurve.java
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ class TrainerCurve extends Curve {
}

private static final String readTrainerBeforeStartSql = "select SPIELERID, FUEHRUNG, DATUM from SPIELER where TRAINERTYP <> -1 and DATUM <= ? order by DATUM desc";
private static final String readTrainerSql = "select SPIELERID, FUEHRUNG, DATUM from SPIELER where TRAINERTYP <> -1 and DATUM > ? and DATUM < ? order by DATUM";
private static final String readTrainerSql = "select SPIELERID, FUEHRUNG, DATUM from SPIELER where TRAINERTYP <> -1 and DATUM > ? and DATUM <= ? order by DATUM";
private void readTrainer() {
var start = HOVerwaltung.instance().getModel().getBasics().getDatum().minus(WEEKS_BACK*7, ChronoUnit.DAYS);

Expand Down
3 changes: 3 additions & 0 deletions src/main/resources/release_notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,9 @@
### Option setting
* new color editor in option settings (#1242)

### Team spirit forecast
* Fix loading trainer data (#2078)

### Misc
* Add a Linux-friendly default theme, called “Gnome.”
* Add Kotlin support to codebase
Expand Down

0 comments on commit c82b69f

Please sign in to comment.