fix: search with status and author (#5152)

This commit is contained in:
Tejaswini Chile
2022-08-02 15:28:27 +05:30
committed by GitHub
parent d9b102cff0
commit 596b611fc0
4 changed files with 24 additions and 5 deletions

View File

@@ -46,7 +46,7 @@ class Api::V1::Accounts::ArticlesController < Api::V1::Accounts::BaseController
end
def list_params
params.permit(:locale, :query, :page, :category_slug)
params.permit(:locale, :query, :page, :category_slug, :status, :author_id)
end
def set_current_page