summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xdocs/CHANGELOG.md2
-rw-r--r--lib/class/search.class.php2
2 files changed, 3 insertions, 1 deletions
diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md
index 775b05e9..7ea34bc9 100755
--- a/docs/CHANGELOG.md
+++ b/docs/CHANGELOG.md
@@ -3,6 +3,8 @@ CHANGELOG
3.6-FUTURE
----------
+- Fixed date searches using 'before' to use the correct comparison
+ (patch by thinca)
- Fixed long-standing issue affecting Synology users (patch by NigridsVa)
- Added support for MySQL sockets (based on patches by randomessence)
- Fixed some issues with the logic around memory_limit (reported by CableNinja)
diff --git a/lib/class/search.class.php b/lib/class/search.class.php
index 5dbabf5f..bf85d890 100644
--- a/lib/class/search.class.php
+++ b/lib/class/search.class.php
@@ -179,7 +179,7 @@ class Search extends playlist_object {
$this->basetypes['date'][] = array(
'name' => 'lt',
'description' => T_('before'),
- 'sql' => '>'
+ 'sql' => '<'
);
$this->basetypes['date'][] = array(