Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix start pagination for listgovproposals #1689

Merged
merged 3 commits into from
Jan 13, 2023

Conversation

Mixa84
Copy link
Contributor

@Mixa84 Mixa84 commented Jan 11, 2023

What kind of PR is this?:

/kind fix

What this PR does / why we need it:

When using filters like cycle or status and pass start proposal id for pagination, it doesn't work correctly as it doesn't start from passed id. This PR solves it.

@Mixa84 Mixa84 requested a review from a team January 11, 2023 13:09
@Mixa84 Mixa84 requested a review from Bushstar as a code owner January 11, 2023 13:09
@Mixa84 Mixa84 self-assigned this Jan 11, 2023
fuxingloh pushed a commit to BirthdayResearch/jellyfishsdk that referenced this pull request Jan 12, 2023
…and pagination (#1954)

<!--  Thanks for sending a pull request! -->

#### What this PR does / why we need it:
- To update `listGovProposals` to accept `cycle` and `pagination` added
in DeFiCh/ain#1627
- To add more e2e related to `pagination`

#### Which issue(s) does this PR fixes?:
<!--
(Optional) Automatically closes linked issue when PR is merged.
Usage: `Fixes #<issue number>`, or `Fixes (paste link of issue)`.
-->
Fixes #

#### Additional comments?:
- Pending DeFiCh/ain#1689 to fix an issue where
`start` is ignored when `status` is not passed OR when `cycle` is passed
- However, this should not be a blocker for now
@prasannavl prasannavl merged commit 2f29579 into master Jan 13, 2023
@prasannavl prasannavl deleted the fix/listgovproposal_pagination branch January 13, 2023 08:26
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.

2 participants