Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
PaoPao
/
serviceWork
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit
bd6a9388
...
bd6a9388f1ce1788f05795a67413d2bf7c06f14c
authored
2024-05-29 11:14:14 +0800
by
杨俊
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix(develop): Init
1 parent
74a782a4
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
app/Http/Container/ManageSection/Filters/ActivityFilter.php
app/Http/Container/ManageSection/Filters/ActivityFilter.php
View file @
bd6a938
...
...
@@ -24,6 +24,10 @@ public function setup(): void
if
(
$privateProject
->
isNotEmpty
())
{
$builder
->
orWhere
(
fn
(
$query
)
=>
$query
->
whereIn
(
'activitys.project_id'
,
$privateProject
->
modelKeys
())
->
where
(
'activitys.user_id'
,
\Illuminate\Support\Facades\Auth
::
id
()));
}
if
(
$publicProject
->
isEmpty
()
&&
$privateProject
->
isEmpty
())
{
$builder
->
whereNull
(
'activitys.project_id'
);
}
});
}
...
...
Please
register
or
sign in
to post a comment