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

remove 'q' parameter #17

Closed
tripper54 opened this issue Mar 8, 2016 · 0 comments
Closed

remove 'q' parameter #17

tripper54 opened this issue Mar 8, 2016 · 0 comments

Comments

@tripper54
Copy link

Hi there,

I need to replace the 'q' parameter with 'search' for the api I'm consuming.

In the context of the api I'm consuming, 'q' has a different meaning and it needs to not be present at all in the URL.

Is there any way for me to remove the 'q' parameter on the search requests? I've tried setting it to null in the component definition:


data: {
                'search': function() {
                    return vc.query;
                },
                'q' : null

            },

But the requests generated still include it, eg /my-endpoint?q=&search=enteredtext

Is this possible?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant