mirror of
https://github.com/ACSPRI/queXS
synced 2024-04-02 12:12:16 +00:00
Fixes lp:1510369 When survey completed as "Self completed online", quotas based on either sample or data inputs, are not counted as completed
Dev: Were not being reported as completed in the quota report but added as completions for calculating the quota Dev: Will need to be running the system sort process to make sure the quotas are updated when using a self complete sample
This commit is contained in:
@@ -295,7 +295,7 @@ if ($questionnaire_id)
|
||||
|
||||
$sql = "SELECT count(*) as count
|
||||
FROM `case` as c, sample as s
|
||||
WHERE c.current_outcome_id = 10
|
||||
WHERE c.current_outcome_id IN (10,40)
|
||||
AND s.import_id = '$sample_import_id'
|
||||
AND s.sample_id = c.sample_id
|
||||
AND c.questionnaire_id = '$questionnaire_id'";
|
||||
|
||||
Reference in New Issue
Block a user