Skip to content
Projects
Groups
Snippets
Help
Sign in / Register
Toggle navigation
Minds Backend - Engine
Project overview
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Locked Files
Issues
298
Merge Requests
39
CI / CD
Security & Compliance
Packages
Wiki
Snippets
Members
Collapse sidebar
Close sidebar
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Minds
Minds Backend - Engine
Commits
b8086ffe
Commit
b8086ffe
authored
1 hour ago
by
Emiliano Balbuena
Browse files
Options
Download
(chore): Disable timestamp constrain on old algorithms
parent
0ed3b3bd
goal/top-algorithm-redux-2
1 merge request
!407
Top Algorithm
Pipeline
#100986242
passed with stages
in 6 minutes and 56 seconds
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
4 deletions
+4
-4
Core/Search/SortingAlgorithms/Chronological.php
View file @
b8086ffe
...
...
@@ -14,7 +14,7 @@ class Chronological implements SortingAlgorithm
*/
public
function
isTimestampConstrain
()
:
bool
{
return
false
;
return
false
;
// Old period-based algorithms shouldn't be constrained
}
/**
...
...
This diff is collapsed.
Core/Search/SortingAlgorithms/Controversial.php
View file @
b8086ffe
...
...
@@ -15,7 +15,7 @@ class Controversial implements SortingAlgorithm
*/
public
function
isTimestampConstrain
()
:
bool
{
return
true
;
return
false
;
// Old period-based algorithms shouldn't be constrained
}
/**
...
...
This diff is collapsed.
Core/Search/SortingAlgorithms/Hot.php
View file @
b8086ffe
...
...
@@ -16,7 +16,7 @@ class Hot implements SortingAlgorithm
*/
public
function
isTimestampConstrain
()
:
bool
{
return
true
;
return
false
;
// Old period-based algorithms shouldn't be constrained
}
/**
...
...
This diff is collapsed.
Core/Search/SortingAlgorithms/Top.php
View file @
b8086ffe
...
...
@@ -15,7 +15,7 @@ class Top implements SortingAlgorithm
*/
public
function
isTimestampConstrain
()
:
bool
{
return
true
;
return
false
;
// Old period-based algorithms shouldn't be constrained
}
/**
...
...
This diff is collapsed.
Please
register
or
sign in
to comment