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 - Make selected language and format bookmarkable #22233

Merged
merged 1 commit into from
Dec 18, 2021

Conversation

colemanw
Copy link
Member

@colemanw colemanw commented Dec 9, 2021

Overview

The APIv4 explorer already places params in the url for easy bookmarking. This extends it to work for the selected language tab and the selected output format.

Before

Tab and format selectable but not bookmarkable.

After

Now they are. This will improve the export link from #22229 to include output format as PHP.

Technical Details

Prefixes non-param args with an underscore to avoid conflicts with param names

…url args

Prefix non-param args with an underscore to avoid conflicts with param names
@civibot
Copy link

civibot bot commented Dec 9, 2021

(Standard links)

@civibot civibot bot added the master label Dec 9, 2021
@herbdool
Copy link
Contributor

This works for me.

@colemanw colemanw merged commit a0f4473 into civicrm:master Dec 18, 2021
@colemanw colemanw deleted the apiExplorerArgs branch December 18, 2021 23:33
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