Skip to content
This repository has been archived by the owner on Jul 25, 2019. It is now read-only.

Ticket searching does not respect request parameters #4

Open
tboyko opened this issue Aug 12, 2015 · 1 comment
Open

Ticket searching does not respect request parameters #4

tboyko opened this issue Aug 12, 2015 · 1 comment

Comments

@tboyko
Copy link

tboyko commented Aug 12, 2015

GET /api/v1/tickets/search.json returns the same result, regardless of what values are passed for parameters page, per_page and query. Looking at the source code of this library, it seems that any client.get will ultimately discard the parameters provided (see line 102 of client.rb).

I tried remedying this by modifying uservoice-ruby so that it will pass these parameters for get requests as well, though it didn't work. I suspect I am missing something, or, additional considerations need to be made when using the the underlying Oauth::AccessToken object.

@Maraumax
Copy link

Maraumax commented Sep 9, 2015

I have the same problem, i try with

:params => { 'query' => 'assignee:me+status:open' }

but not working.

PS : i fix my problem by using tickets.json filters directly in url.

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

No branches or pull requests

2 participants