diff --git a/openbis/source/java/ch/systemsx/cisd/openbis/generic/server/business/bo/datasetlister/DatasetLister.java b/openbis/source/java/ch/systemsx/cisd/openbis/generic/server/business/bo/datasetlister/DatasetLister.java
index 896c09f739b5a473637b4512a2a491e4c9e6dab8..698847a1310513a02624e8385136054b0eb66d09 100644
--- a/openbis/source/java/ch/systemsx/cisd/openbis/generic/server/business/bo/datasetlister/DatasetLister.java
+++ b/openbis/source/java/ch/systemsx/cisd/openbis/generic/server/business/bo/datasetlister/DatasetLister.java
@@ -69,7 +69,8 @@ import ch.systemsx.cisd.openbis.generic.shared.translator.DataStoreTranslator;
  * @author Tomasz Pylak
  */
 @Friend(toClasses =
-    { DatasetRecord.class, DataStoreRecord.class, IDatasetListingQuery.class })
+    { DatasetRecord.class, DatasetRelationRecord.class, DataStoreRecord.class,
+            IDatasetListingQuery.class })
 public class DatasetLister implements IDatasetLister
 {
     //