I want to know how to add search function by category.

답변함

3 댓글

  • Dennis Savard
    댓글 작업 고유 링크

    it is my understanding that when you do a search from the search bar, you do search within the categories but at the same time you are searching in the sections the choices you get as a result will tell you in which section your article is located

    1
  • leejihoon
    댓글 작업 고유 링크

    Thanks for the comment.
    Our team wants to show only posts from that category in search results when user search within a specific category.
    This is because when a user is located within a certain category, they are searched and posts of other categories are more confused.
    In fact, our service users are confused by this. So our team was still looking for the method. but could not find it yet.

    0
  • Brett - Community Manager
    댓글 작업 고유 링크

    Hi Leejihoon,

    If I'm understanding you correctly, you may use 'scoped=true' to scope the search in that particular category only. 

    Here is the official Curlybars documentation: Search Helpers

    I hope the above helps!

    1

댓글을 남기려면 로그인하세요.

Zendesk 제공