Fixing list

This commit is contained in:
Luca Frosini 2022-10-17 17:16:41 +02:00
parent ab3c28f7d0
commit 9314e67830
1 changed files with 1 additions and 1 deletions

View File

@ -1188,7 +1188,7 @@ public class CKANPackage extends CKAN implements Moderated {
break;
case EDITOR:
if(cmItemStatus!=null) {
if(cmItemStatus!=null && cmItemStatus!=CMItemStatus.APPROVED) {
q = String.format("%s AND %s:%s", q, AUTHOR_EMAIL_KEY, ckanUser.getEMail());
parameters.put(GCatConstants.Q_KEY, q);
}