Skip to content

Commit

Permalink
Merge pull request #12 from chrillep/patch-1
Browse files Browse the repository at this point in the history
fix(Settings) : 🐛 use slug for search
  • Loading branch information
stepanenko3 authored Sep 22, 2023
2 parents 7fce9ff + 37ab5c8 commit 6d77eb8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Resources/Settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,15 @@ class Settings extends Resource
*
* @var string
*/
public static $title = 'name';
public static $title = 'slug';

/**
* The columns that should be searched.
*
* @var array
*/
public static $search = [
'name',
'slug',
];

public static $globallySearchable = true;
Expand Down

0 comments on commit 6d77eb8

Please sign in to comment.