mirror of
https://github.com/sp-tarkov/forge.git
synced 2025-02-12 20:20:41 -05:00
Adds TODO for query.
This commit is contained in:
parent
d1b142c2ee
commit
58e8adb730
@ -39,6 +39,10 @@ class ModFilter
|
||||
*/
|
||||
private function baseQuery(): Builder
|
||||
{
|
||||
// TODO: The latestVersion relationship is sometimes null here and it causes issues. We need to ensure that
|
||||
// empty relationships are filtered out. Normally we would use the whereHas method, but it causes *major*
|
||||
// performance issues in this case. We need to find a better solution.
|
||||
|
||||
return Mod::select([
|
||||
'mods.id',
|
||||
'mods.name',
|
||||
|
Loading…
x
Reference in New Issue
Block a user