2

Channels have author id. Authors are associated with groups (member).

Is it possible to filter collection entries based on group id in Low Search?

1 Answer 1

2

The native channel:entries tag supports the group_id="" parameter (see the docs), which means you can filter Low Search results by group ID as well. Simply add it as an input field to your search form, for example:

<select name="group_id">
    <option value="">All groups</option>
    <option value="1">SuperAdmins</option>
    <option value="x">Group X</option>
    ...
</select>
1
  • I see. My mistake then was setting the name to "search:group_id". No need for the "search:" prefix. Jan 10, 2013 at 10:36

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.