Skip to content
Snippets Groups Projects
Commit 76c5021c authored by srosse's avatar srosse
Browse files

OO-4678: reverse closed test

parent 544061ae
No related branches found
No related tags found
No related merge requests found
......@@ -676,7 +676,7 @@ public class CatalogManager implements UserDataDeletable, InitializingBean {
}
// Add to entries
else if (newEntry.getType() == CatalogEntry.TYPE_LEAF &&
(newEntry.getRepositoryEntry() == null || RepositoryEntryStatusEnum.closed.equals(newEntry.getRepositoryEntry().getEntryStatus()))) {
(newEntry.getRepositoryEntry() == null || !RepositoryEntryStatusEnum.closed.equals(newEntry.getRepositoryEntry().getEntryStatus()))) {
// If added on top or alphabetically
if ((parentEntry.getEntryAddPosition() == null && repositoryModule.getCatalogAddEntryPosition() == 1)
|| (parentEntry.getEntryAddPosition() != null && parentEntry.getEntryAddPosition() == 1)) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment