Skip to content

WireCache: get() $expire selector doesn't support OR groups #1828

@adrianbj

Description

@adrianbj

Short description of the issue

WireCache: get() $expire selector doesn't support OR groups

Expected behavior

It should support OR groups

Actual behavior

Cache doesn't get refreshed ever

Steps to reproduce the issue

  1. Something like return wire('cache')->get('message_dates_'.$u->id, '(id='.$u->id.'), (template=date)', function() use($u, $include_past) {
  2. Edit user page ($u->id) or any page with date template
  3. Note that cache isn't refreshed

As a workaround, I am getting the IDs of all the date template pages and adding them to the id selector, but I don't think we should have to do that.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions