feat: Add search functionality for public portal (#5683)
Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
This commit is contained in:
committed by
GitHub
parent
bce0bb8acb
commit
1fb1be3ddc
@@ -13,6 +13,14 @@ if article.portal.present?
|
||||
end
|
||||
end
|
||||
|
||||
if article.category.present?
|
||||
json.category do
|
||||
json.id article.category.id
|
||||
json.slug article.category.slug
|
||||
json.locale article.category.locale
|
||||
end
|
||||
end
|
||||
|
||||
json.views article.views
|
||||
|
||||
if article.author.present?
|
||||
|
||||
Reference in New Issue
Block a user