Skip to content

Commit

Permalink
Add spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergey-weber committed Nov 29, 2024
1 parent 267a68c commit ef42432
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/services/entry/actions/get-related-entries.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,9 @@ export async function getRelatedEntries(
.join('entries', 'entries.entryId', endToStart ? 'l.toId' : 'l.fromId')
.where((builder) => {
builder.where({isDeleted: false});

builder.andWhere('depth', '<', 5);

if (scope) {
builder.andWhere('entries.scope', scope);
}
Expand Down

0 comments on commit ef42432

Please sign in to comment.