Merge pull request #58 from AdrianLxM/loadmorehightemps

Load more "extended bolus" high temps
This commit is contained in:
Milos Kozak 2016-11-10 13:54:11 +01:00 committed by GitHub
commit a5778b4916

View file

@ -121,7 +121,7 @@ public class TempBasalsPlugin implements PluginBase, TempBasalsInterface {
queryBuilderExt.orderBy("timeIndex", false);
Where whereExt = queryBuilderExt.where();
whereExt.eq("isExtended", true);
queryBuilderExt.limit(5L);
queryBuilderExt.limit(30L);
PreparedQuery<TempBasal> preparedQueryExt = queryBuilderExt.prepare();
extendedBoluses = dao.query(preparedQueryExt);