Skip to content

Fix limit logic#1

Closed
catileptic wants to merge 1 commit intomainfrom
hotfix/logic
Closed

Fix limit logic#1
catileptic wants to merge 1 commit intomainfrom
hotfix/logic

Conversation

@catileptic
Copy link

If the QueryParser received args where the limit is set (ImmutableMultiDict([('limit', '0')), then parsed_limit will evaluate to 0. Hence, in __init__, limit will evaluate to 0.

In OpenAleph, this creates a bug where the entities/<id>/expand path never returns any results because the limit is always set to 0.

@catileptic catileptic closed this Sep 9, 2025
@simonwoerpel simonwoerpel deleted the hotfix/logic branch September 24, 2025 04:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant