helpyio / helpy

Helpy is a modern, open source helpdesk customer support application. Features include knowledgebase, community discussions and support tickets integrated with email.
http://helpy.io/?source=ghh
MIT License
2.38k stars 498 forks source link

API: Get tickets list by user and status not working #2073

Open ekarkin opened 2 years ago

ekarkin commented 2 years ago

This methods are use paginate and not work in my helpy docker version. Errors in logs:

Error during failsafe response: Missing template errors/internal_server_error, application/internal_server_error with {:locale=>[:ru, :en], :formats=>[:json], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby, :"inky-builder", :"inky-erb", :"inky-raw", :"inky-ruby", :inky, :jbuilder, :"inky-jbuilder"]}. Searched in:
  * "/helpy/app/themes/light/views"
  * "/helpy/app/views"
  * "/opt/helpy-bundle/bundler/gems/helpy_imap-69ad6593dbf0/app/views"
  * "/opt/helpy-bundle/bundler/gems/helpy_onboarding-bb75cec5a680/app/views"
...

Removing paginate works fine ^)

https://github.com/helpyio/helpy/blob/26aff0e485aee91f41098ee986cfe750746dcfee/app/controllers/api/v1/topics.rb#L53