Database_Baseline.zip - updated sagacity_routines.sql to support removing findings.id field
database.inc - uncomment code block in post_Processing
This commit is contained in:
parent
a9fc4f6a86
commit
a6808b2add
Binary file not shown.
@ -11477,13 +11477,13 @@ EOQ;
|
||||
]);
|
||||
$this->help->execute();
|
||||
|
||||
# Commented out 3 Nov 18 to fix #62 - Jeff Odegard
|
||||
# $this->help->sql = "INSERT IGNORE INTO findings (tgt_id,pdi_id,findings_status_id) " .
|
||||
# "SELECT {$id},pcl.pdi_id,1 " .
|
||||
# "FROM target_checklist tc " .
|
||||
# "JOIN pdi_checklist_lookup pcl ON pcl.checklist_id = tc.chk_id " .
|
||||
# "WHERE tc.tgt_id = {$id}";
|
||||
# $this->help->execute();
|
||||
$this->help->query_type = db_helper::INSERT;
|
||||
$this->help->sql = "INSERT IGNORE INTO findings (tgt_id,pdi_id,findings_status_id) " .
|
||||
"SELECT {$id},pcl.pdi_id,1 " .
|
||||
"FROM target_checklist tc " .
|
||||
"JOIN pdi_checklist_lookup pcl ON pcl.checklist_id = tc.chk_id " .
|
||||
"WHERE tc.tgt_id = {$id}";
|
||||
$this->help->execute();
|
||||
|
||||
$this->update_Target_Counts($id);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user