Skip to content

Commit cf76cdf

Browse files
Fix EHR form submit thresholds (#1107)
* Fix variable assignments
1 parent 39a1d55 commit cf76cdf

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

ehr/resources/web/ehr/data/StoreCollection.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -665,13 +665,13 @@ Ext4.define('EHR.data.StoreCollection', {
665665
perRowWarningThreshold = this.formConfig.perRowWarningThreshold;
666666
}
667667
if (this.formConfig.totalTransactionWarningThrehsold){
668-
perRowWarningThreshold = this.formConfig.totalTransactionWarningThrehsold;
668+
totalTransactionWarningThreshold = this.formConfig.totalTransactionWarningThrehsold;
669669
}
670670
if (this.formConfig.perRowValidationWarningThrehsold){
671-
perRowWarningThreshold = this.formConfig.perRowValidationWarningThrehsold;
671+
perRowValidationWarningThreshold = this.formConfig.perRowValidationWarningThrehsold;
672672
}
673673
if (this.formConfig.totalValidationTransactionWarningThrehsold){
674-
perRowWarningThreshold = this.formConfig.totalValidationTransactionWarningThrehsold;
674+
totalValidationTransactionWarningThreshold = this.formConfig.totalValidationTransactionWarningThrehsold;
675675
}
676676
}
677677

ehr/src/org/labkey/ehr/demographics/EHRDemographicsServiceImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -503,7 +503,7 @@ private List<AnimalRecord> createRecords(Container c, Collection<String> ids, bo
503503
while (start < allIds.size())
504504
{
505505
List<String> sublist = allIds.subList(start, Math.min(allIds.size(), start + DemographicsProvider.MAXIMUM_BATCH_SIZE));
506-
_log.info("Creating demographics records for " + sublist.size() + " animals (" + start + " of " + allIds.size() + " already complete)");
506+
_log.debug("Creating demographics records for " + sublist.size() + " animals (" + start + " of " + allIds.size() + " already complete)");
507507
start = start + DemographicsProvider.MAXIMUM_BATCH_SIZE;
508508

509509
DefaultSchema defaultSchema = DefaultSchema.get(u, c);

0 commit comments

Comments
 (0)