mirror of
https://github.com/HDInnovations/UNIT3D-Community-Edition.git
synced 2026-05-03 16:59:32 -05:00
add: spell check ci
Just an initial portion for now fixing incorrect text and preventing future incorrect text. Eventually, I'd like to fix everything still listed under "ignoredWords" in cspell.json.
This commit is contained in:
@@ -85,7 +85,7 @@ class TopicSearch extends Component
|
||||
'user.group',
|
||||
'latestPoster',
|
||||
'forum',
|
||||
'reads' => fn ($query) => $query->whereBelongsto(auth()->user()),
|
||||
'reads' => fn ($query) => $query->whereBelongsTo(auth()->user()),
|
||||
])
|
||||
->authorized(canReadTopic: true)
|
||||
->when($this->search !== '', fn ($query) => $query->where('name', 'LIKE', '%'.$this->search.'%'))
|
||||
@@ -107,7 +107,7 @@ class TopicSearch extends Component
|
||||
->whereHas(
|
||||
'reads',
|
||||
fn ($query) => $query
|
||||
->whereBelongsto(auth()->user())
|
||||
->whereBelongsTo(auth()->user())
|
||||
->whereColumn('last_post_id', '>', 'last_read_post_id')
|
||||
)
|
||||
)
|
||||
@@ -117,7 +117,7 @@ class TopicSearch extends Component
|
||||
->whereHas(
|
||||
'reads',
|
||||
fn ($query) => $query
|
||||
->whereBelongsto(auth()->user())
|
||||
->whereBelongsTo(auth()->user())
|
||||
->whereColumn('last_post_id', '=', 'last_read_post_id')
|
||||
)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user