Skip to content

The actions method is run once for each resource on an index page, despite only being needed once in total #3791

@Ahmed-Ashraf-eng

Description

@Ahmed-Ashraf-eng

1. Laravel Version: 7.0
2. Nova Version: 3.27.0
3. PHP Version: 7.2.5
4. Database Driver : MySQL

Description:
At the moment it appears that the actions method of a resource is run once on a listing, and again for each resource in that listing (i.e. 1 + 25 on a standard Nova resource response), leading to poor performance and frequently duplicated queries, etc, despite only needing to be run once.

nova actions issue

Metadata

Metadata

Assignees

No one assigned

    Labels

    implementedFeature Request implementedrequestFeature Request

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions