Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Зуев Егор
/
wiki.dev
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Authored by
Dan Brown
2016-07-03 10:42:13 +0100
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Commit
a11d5245ecc886eb9933815bcf5b22ac76134344
a11d5245
1 parent
565033e0
Cut down homepage queries a little
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
app/Services/ActivityService.php
app/Services/ActivityService.php
View file @
a11d524
...
...
@@ -90,7 +90,7 @@ class ActivityService
{
$activityList
=
$this
->
permissionService
->
filterRestrictedEntityRelations
(
$this
->
activity
,
'activities'
,
'entity_id'
,
'entity_type'
)
->
orderBy
(
'created_at'
,
'desc'
)
->
skip
(
$count
*
$page
)
->
take
(
$count
)
->
get
();
->
orderBy
(
'created_at'
,
'desc'
)
->
with
(
'user'
,
'entity'
)
->
skip
(
$count
*
$page
)
->
take
(
$count
)
->
get
();
return
$this
->
filterSimilar
(
$activityList
);
}
...
...
Please
register
or
sign in
to post a comment