mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-02-06 15:14:58 +00:00
getDocumentList(AppRev) returns only untouched documents
This commit is contained in:
parent
e4a568e6b9
commit
6b2f528624
|
@ -717,24 +717,25 @@ class SeedDMS_Core_DMS {
|
|||
|
||||
// Create a comma separated list of all the documentIDs whose information is
|
||||
// required.
|
||||
// Take only those documents into account which hasn't be touched by the user
|
||||
$dList = array();
|
||||
foreach ($reviewStatus["indstatus"] as $st) {
|
||||
if (!in_array($st["documentID"], $dList)) {
|
||||
if ($st["status"]==0 && !in_array($st["documentID"], $dList)) {
|
||||
$dList[] = $st["documentID"];
|
||||
}
|
||||
}
|
||||
foreach ($reviewStatus["grpstatus"] as $st) {
|
||||
if (!in_array($st["documentID"], $dList)) {
|
||||
if ($st["status"]==0 && !in_array($st["documentID"], $dList)) {
|
||||
$dList[] = $st["documentID"];
|
||||
}
|
||||
}
|
||||
foreach ($approvalStatus["indstatus"] as $st) {
|
||||
if (!in_array($st["documentID"], $dList)) {
|
||||
if ($st["status"]==0 && !in_array($st["documentID"], $dList)) {
|
||||
$dList[] = $st["documentID"];
|
||||
}
|
||||
}
|
||||
foreach ($approvalStatus["grpstatus"] as $st) {
|
||||
if (!in_array($st["documentID"], $dList)) {
|
||||
if ($st["status"]==0 && !in_array($st["documentID"], $dList)) {
|
||||
$dList[] = $st["documentID"];
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user