Skip to content

persitFilters not working in nova 5 #53

Open
@zsoltjanes

Description

@zsoltjanes

In my Laravel 11 project using Laravel Nova 5, the resource lock functionality wasn't working as expected. After some investigation, I found a solution.

I modified the DetachedFilterCard.vue file—specifically a function within it—and then recompiled the frontend assets with npm run build. After doing this, the locking feature started working correctly.

 loadPersistedFilters() {
      ...

      this.syncFilters();
    },

to this:


  loadPersistedFilters() {
      ....

      this.filterChanged();
    },

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions