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

Make filters always be passed as query string parameters in sandbox requests #757

Closed
wants to merge 1 commit into from

Conversation

solazs
Copy link

@solazs solazs commented Nov 18, 2015

As described in an issue of NelmioApiDocBundle, currently all filters are sent as POST parameters on non-GET requests in the sandbox.
I've modified the HTML templeate of the methods to be able to tell filters and parameters apart (method.html.twig) and added some code to the JavaScript making the ajax call, to append the filters to the URL if necessary.

@willdurand
Copy link
Collaborator

Scheduled for 2.12, thanks!

@yuri-karkh
Copy link

$('.parameters .tuple .filter', $(this))

I think line 477 in pull request is incorrect and should be:

$('.parameters .tuple.filter', $(this))

so have a look.

@willdurand
Copy link
Collaborator

Closing as I am not able to accept new features right now.

@willdurand willdurand closed this Jun 13, 2016
@willdurand willdurand removed this from the 2.13.0 milestone Jun 13, 2016
@lsmith77
Copy link
Collaborator

@GuilhemN can we reopen this PR?

@GuilhemN
Copy link
Collaborator

Sure. I don't have time to review it but if you think it's ready to be merged I can merge it.

@GuilhemN GuilhemN reopened this Apr 28, 2017
@lsmith77
Copy link
Collaborator

ok .. I will test it out and give you feedback

@GuilhemN
Copy link
Collaborator

Ok, thanks !

@lsmith77
Copy link
Collaborator

hmm somehow I didn't manage to send a PR to this PR so I ended up creating a new PR with a tiny typo fix that was need to make things work #988

@GuilhemN
Copy link
Collaborator

Fixed in #988

@GuilhemN GuilhemN closed this Apr 28, 2017
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.

None yet

5 participants