This is an automated email from the git hooks/post-receive script. New commit to branch develop in repository chorem. See https://gitlab.nuiton.org/chorem/chorem.git commit d5bfb5c82707f5e8c6d107d93839a1aaab35b0c2 Author: Jean Couteau <jean.couteau@gmail.com> Date: Tue Jul 26 10:09:53 2016 +0200 fixes #1363 : Adding .setLimit(WikittyQuery.MAX); to queries --- .../webmotion/actions/financial/BillingPerAccountReportAction.java | 2 +- .../webmotion/actions/financial/BillingPerProjectReportAction.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/chorem-webmotion/src/main/java/org/chorem/webmotion/actions/financial/BillingPerAccountReportAction.java b/chorem-webmotion/src/main/java/org/chorem/webmotion/actions/financial/BillingPerAccountReportAction.java index 8dbfb72..3e228cd 100644 --- a/chorem-webmotion/src/main/java/org/chorem/webmotion/actions/financial/BillingPerAccountReportAction.java +++ b/chorem-webmotion/src/main/java/org/chorem/webmotion/actions/financial/BillingPerAccountReportAction.java @@ -96,7 +96,7 @@ public class BillingPerAccountReportAction extends WebMotionController { .bw(FinancialTransaction.FQ_FIELD_FINANCIALTRANSACTION_EMITTEDDATE, first, last) .containsOne(FinancialTransaction.FQ_FIELD_FINANCIALTRANSACTION_BENEFICIARY) .select(Element.ID).filterOnCompanyOrEmployee(companyId) - .end(); + .end().setLimit(WikittyQuery.MAX);; List<FinancialTransaction> bills = client.findAllByQuery(FinancialTransaction.class, billsQuery).getAll(); diff --git a/chorem-webmotion/src/main/java/org/chorem/webmotion/actions/financial/BillingPerProjectReportAction.java b/chorem-webmotion/src/main/java/org/chorem/webmotion/actions/financial/BillingPerProjectReportAction.java index 55d2ee1..c7ad077 100644 --- a/chorem-webmotion/src/main/java/org/chorem/webmotion/actions/financial/BillingPerProjectReportAction.java +++ b/chorem-webmotion/src/main/java/org/chorem/webmotion/actions/financial/BillingPerProjectReportAction.java @@ -98,7 +98,7 @@ public class BillingPerProjectReportAction extends WebMotionController { .bw(FinancialTransaction.FQ_FIELD_FINANCIALTRANSACTION_EMITTEDDATE, first, last) .containsOne(FinancialTransaction.FQ_FIELD_FINANCIALTRANSACTION_BENEFICIARY) .select(Element.ID).filterOnCompanyOrEmployee(companyId) - .end(); + .end().setLimit(WikittyQuery.MAX);; List<FinancialTransaction> bills = client.findAllByQuery(FinancialTransaction.class, billsQuery.setLimit(WikittyQuery.MAX)).getAll(); -- To stop receiving notification emails like this one, please contact chorem.org SCM administrator <admin+scm@chorem.org>.