Skip to content

Commit

Permalink
fixed another issue highlighted by tests
Browse files Browse the repository at this point in the history
  • Loading branch information
pushrbx committed Jan 31, 2024
1 parent b33ce14 commit 7ba31ce
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions app/Profile.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,4 +75,9 @@ public function typesenseQueryBy(): array
"username"
];
}

public function getTitleAttributeName(): string
{
return "username";
}
}
2 changes: 2 additions & 0 deletions app/Testing/ScoutFlush.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ public function runScoutFlush(): void
"filter_by" => "mal_id:>0",
"batch_size" => 500
]);

$typeSenseClient->deleteCollection($modelInstance->searchableAs());
}
}
}
Expand Down

0 comments on commit 7ba31ce

Please sign in to comment.