Skip to content

Commit

Permalink
And another bugfix.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ralph Gasser committed Apr 3, 2024
1 parent abcc96c commit c5933aa
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,15 +36,15 @@ class RelationExpander(
this@RelationExpander.retrievableReader.getConnections(emptyList(), this@RelationExpander.incomingRelations, ids)
} else {
emptySequence()
}.groupBy { it.first }
}.groupBy { it.third }

to

if (this@RelationExpander.outgoingRelations.isNotEmpty()) {
this@RelationExpander.retrievableReader.getConnections(ids, this@RelationExpander.outgoingRelations, emptyList())
} else {
emptySequence()
}.groupBy { it.third })
}.groupBy { it.first })
} else {
emptyMap<RetrievableId, List<Triple<RetrievableId,String,RetrievableId>>>() to emptyMap()
}
Expand Down

0 comments on commit c5933aa

Please sign in to comment.