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 search pagination cursor #3343

Merged
merged 1 commit into from
Oct 4, 2021
Merged

Fix search pagination cursor #3343

merged 1 commit into from
Oct 4, 2021

Conversation

julien-nc
Copy link
Member

If we get both boards and cards when searching and the number of cards is higher than the limit, the wrong index is used to get the pagination cursor.
This avoids the crash but the search is still not completely ok because we get the same boards in each page. Board search does not use the cursor.

Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
@juliusknorr
Copy link
Member

/backport to stable22

@juliusknorr
Copy link
Member

/backport to stable1.4

@juliusknorr
Copy link
Member

/backport to stable1.2

@juliusknorr juliusknorr merged commit d61d9f0 into master Oct 4, 2021
@juliusknorr juliusknorr deleted the fix/paginated-search branch October 4, 2021 05:32
@backportbot-nextcloud
Copy link

The backport to stable22 failed. Please do this backport manually.

@backportbot-nextcloud
Copy link

The backport to stable1.4 failed. Please do this backport manually.

@backportbot-nextcloud
Copy link

The backport to stable1.2 failed. Please do this backport manually.

@juliusknorr
Copy link
Member

Ah let me revert that in favor of #3344 actually and do the backports there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants