Skip to content

Conversation

@darrenvechain
Copy link

closes #1372

This PR allows for a zero indexed page number when using pagination. It fixes an inconsistency between the frontend and pkg.

Frontend (see min)

<InlineLabel width={20} tooltip={'initial page number. Defaults to 1'}>
     Field value
</InlineLabel>
<Input
      width={20}
      type="number"
      value={query.pagination_param_page_value}
      min={0} // this min value is not allowed, it gets reset to 1 in query.go
      onChange={(e) => onChange({ ...query, pagination_param_page_value: e.currentTarget.valueAsNumber || 1 })}
></Input>

@darrenvechain darrenvechain requested a review from a team as a code owner November 18, 2025 08:59
@CLAassistant
Copy link

CLAassistant commented Nov 18, 2025

CLA assistant check
All committers have signed the CLA.

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.

[Bug] Pagination :: Can't set zero indexed page number

2 participants