mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-06-18 02:59:27 +00:00
- omit duplicate entries in document lists
This commit is contained in:
parent
c3de676329
commit
c0b77febf9
|
@ -136,9 +136,11 @@ if ($showInProcess){
|
|||
UI::contentContainerStart();
|
||||
$printheader=true;
|
||||
$iRev = array();
|
||||
$dList = array();
|
||||
foreach ($reviewStatus["indstatus"] as $st) {
|
||||
|
||||
if ( $st["status"]==0 && isset($docIdx[$st["documentID"]][$st["version"]]) ) {
|
||||
if ( $st["status"]==0 && isset($docIdx[$st["documentID"]][$st["version"]]) && !in_array($st["documentID"], $dList) ) {
|
||||
$dList[] = $st["documentID"];
|
||||
|
||||
if ($printheader){
|
||||
print "<table class=\"folderView\">";
|
||||
|
@ -163,7 +165,8 @@ if ($showInProcess){
|
|||
}
|
||||
foreach ($reviewStatus["grpstatus"] as $st) {
|
||||
|
||||
if (!in_array($st["documentID"], $iRev) && $st["status"]==0 && isset($docIdx[$st["documentID"]][$st["version"]])) {
|
||||
if (!in_array($st["documentID"], $iRev) && $st["status"]==0 && isset($docIdx[$st["documentID"]][$st["version"]]) && !in_array($st["documentID"], $dList) ) {
|
||||
$dList[] = $st["documentID"];
|
||||
|
||||
if ($printheader){
|
||||
print "<table class=\"folderView\">";
|
||||
|
|
Loading…
Reference in New Issue
Block a user