This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

Seth
Seth

I am filtering on the status of an "application", where status_id = 0, 1, 2, 3 (New, Approved, Rejected, Archived) My config_filter.yaml located in controllers/application/ looks like this:

scopes:
    New:
        label: New
        type: checkbox
        conditions: status_id = 0
    Active:
        label: Active
        type: checkbox
        conditions: status_id = 1
    Rejected:
        label: Rejected
        type: checkbox
        conditions: status_id = 2
    Archived:
        label: Archived
        type: checkbox
        conditions: status_id = 3

However if I want to filter by status_id 0 and 1, once I check those boxes, all of the items with a status_id of 0 disappear. It appears like it's doing "And" filtering - only showing that items that have a status_id of 0 and 1. (Of course none would)

How do I get this to filter by Or?

Thanks!

Update:

I've also tried this but it works exactly the same despite the "in" statement, weird:

scopes:
    Status:
        label: Status
        type: group
        conditions: status_id in (:filtered)
        options:
            0: New
            1: Approved
            2: Rejected
            3: Archived

Last updated

1-1 of 1

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.