Skip to content
Next
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
Minds Backend - Engine
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Locked Files
Issues
139
Issues
139
List
Boards
Labels
Service Desk
Milestones
Merge Requests
27
Merge Requests
27
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Minds
Minds Backend - Engine
Commits
ed16dd37
Commit
ed16dd37
authored
6 hours ago
by
Mark Harding
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(chore): fallback to time_created if no time_updated
parent
d73937ef
master
No related merge requests found
Pipeline
#64228188
passed with stages
in 6 minutes and 36 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
SitemapTrending.php
Core/SEO/Sitemaps/Modules/SitemapTrending.php
+1
-1
No files found.
Core/SEO/Sitemaps/Modules/SitemapTrending.php
View file @
ed16dd37
...
...
@@ -70,7 +70,7 @@ class SitemapTrending extends SitemapModule
break
;
}
$this
->
addOrUpdateRoute
(
$route
,
$entity
->
time_updated
);
$this
->
addOrUpdateRoute
(
$route
,
$entity
->
time_updated
?:
$entity
->
time_created
);
}
}
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment