You probably have a resource called "Action". The action itself won't show by default in the search bar, you must have changed something to make this happen.
how can i disable actions in global search in laravel nova
in laravel nova global search i see actions are returning, where they are coming from? and how can i disable them in global search? https://i.stack.imgur.com/ex9Jc.png this is a screenshot of that issue
@osama_abdullah @rootes @thijsh You are right, this is happening. @bobbybouwmann sorry but you are wrong just this time. It looks like Nova had a small not issue bug, they include a resource to brings action logs from the database. This file it's located on the Nova source folder in ./nova/src/Actions/ActionResource.php. To avoid this behavior, just add this line on the class:
...
class ActionResource extends Resource
{
//This is the line to add
public static $globallySearchable = false;
....
This going to stop showing the resource results on the Global Search.
Best luck on your projects.
Please or to participate in this conversation.