[#247] Filters conversation by status and paginate conversations (#284)

* [#247] Filters conversation by status

* Fixes conversation finder specs

* [#248] Paginates conversation

* Use method name in description

* Move page to default param, add filters on frontend

* Fix code climate issues
This commit is contained in:
Subin T P
2019-12-01 10:16:51 +05:30
committed by Sojan Jose
parent c08074b981
commit 84799fd0a1
13 changed files with 155 additions and 69 deletions

View File

@@ -11,7 +11,6 @@ class Api::V1::ConversationsController < Api::BaseController
result = conversation_finder.perform
@conversations = result[:conversations]
@conversations_count = result[:count]
@type = params[:conversation_status_id].to_i
end
def show