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

dev/core#38 Fix inappropriate limit on participant.getcount #12203

Merged
merged 1 commit into from
May 25, 2018

Conversation

eileenmcnaughton
Copy link
Contributor

Overview

Fix API Participant getcount returns 25 when it should be higher

Before

DB with 27 participants returns 25 with participant.getcount api call (no criteria)

After

Above call returns 25

Technical Details

Comments

@seamuslee001
Copy link
Contributor

Change makes sense to me Adding merge on pass as i believe its good. @eileenmcnaughton any thought of moving the test from participant to doing it as a SyntaxConformanceTest instead?

@eileenmcnaughton
Copy link
Contributor Author

@seamuslee001 I kinda left that off just because of the time it would take for every single entity

@seamuslee001
Copy link
Contributor

@eileenmcnaughton maybe move the code to syntaxConformance but have like

if ($entity != 'Participant') {
  Mark test as Incomplete?
}

@eileenmcnaughton
Copy link
Contributor Author

test this please

@eileenmcnaughton
Copy link
Contributor Author

That feels at least as ugly, maybe more

@eileenmcnaughton
Copy link
Contributor Author

Merging as Seamus said he was adding merge-on-pass (although he didn't)

@eileenmcnaughton eileenmcnaughton merged commit 5897b05 into civicrm:master May 25, 2018
@eileenmcnaughton eileenmcnaughton deleted the api_tester branch May 25, 2018 03:18
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