Skip to content

Commit

Permalink
Merge branch 'feat/support-parent-child-chunk' into deploy/dev
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnJyong committed Dec 9, 2024
2 parents 4166f49 + 5d92205 commit 471cb99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/controllers/console/datasets/datasets_segments.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def get(self, dataset_id, document_id):

query = DocumentSegment.query.filter(
DocumentSegment.document_id == str(document_id), DocumentSegment.tenant_id == current_user.current_tenant_id
)
).order_by(DocumentSegment.position.asc())

if status_list:
query = query.filter(DocumentSegment.status.in_(status_list))
Expand Down

0 comments on commit 471cb99

Please sign in to comment.