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

SearchKit - Fix incorrect pager count when using filters #21967

Merged
merged 2 commits into from
Nov 4, 2021

Conversation

colemanw
Copy link
Member

@colemanw colemanw commented Nov 3, 2021

Overview

Fixes a bug where filters were not being applied correctly when fetching rowCount, and also improves the output from SearchDisplay::getDefault.

Before

Pager incorrect (if > 1 page) after applying a filter.
SearchDisplay::getDefault doesn't fully support pseudoconstants.

After

Fixed, with tests.

Fixes a bug where filters were not being applied correctly when fetching rowCount
@civibot
Copy link

civibot bot commented Nov 3, 2021

(Standard links)

@civibot civibot bot added the master label Nov 3, 2021
@eileenmcnaughton
Copy link
Contributor

I gave this a quick spin & the count seems good

@eileenmcnaughton eileenmcnaughton merged commit 53c49ce into civicrm:master Nov 4, 2021
@eileenmcnaughton eileenmcnaughton deleted the searchRunFix branch November 4, 2021 03:39
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.

2 participants