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

APIv4 Explorer - Only apply default limit 25 for "get" action #20698

Merged
merged 1 commit into from
Jun 24, 2021

Conversation

colemanw
Copy link
Member

Overview

The API Explorer sets a default limit of 25 so you don't get an overwhelming result set from a get action.

However, for other actions like getFields or getActions, there is no need for a limit and the default is annoying.

This changes the default to 25 only for get actions, and for others it leaves the default as whatever the API code dictates (usually "0").

The API Explorer sets a default limit of 25 so you don't get an overwhelming result set
from a `get` action.

However, for other actions like `getFields` or `getActions`, there is no need for
a limit and the default is annoying.
@civibot
Copy link

civibot bot commented Jun 23, 2021

(Standard links)

@civibot civibot bot added the master label Jun 23, 2021
@eileenmcnaughton
Copy link
Contributor

OK - makes sense

@eileenmcnaughton eileenmcnaughton merged commit 1c892e0 into civicrm:master Jun 24, 2021
@eileenmcnaughton eileenmcnaughton deleted the limit25ForGet branch June 24, 2021 04:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants