summaryrefslogtreecommitdiff
path: root/lib/VNDB/DB/Discussions.pm
diff options
context:
space:
mode:
author3dB <3db@3decibels.net>2009-08-06 18:36:01 -0400
committer3dB <3db@3decibels.net>2009-08-06 18:36:01 -0400
commit1d2756b5fe83419a24591ccc4cc403c3d58dd7af (patch)
treebcc12f01e9fd5ec6aa53aaa55edb03428d614752 /lib/VNDB/DB/Discussions.pm
parent662ca34479611cc3b208b50c9406b876c3bc89b4 (diff)
More logical naming of dbGetPost date filter
Diffstat (limited to 'lib/VNDB/DB/Discussions.pm')
-rw-r--r--lib/VNDB/DB/Discussions.pm6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/VNDB/DB/Discussions.pm b/lib/VNDB/DB/Discussions.pm
index 35c44f4c..5e371fbc 100644
--- a/lib/VNDB/DB/Discussions.pm
+++ b/lib/VNDB/DB/Discussions.pm
@@ -153,7 +153,7 @@ sub dbThreadCount {
}
-# Options: tid, num, what, order, uid, date >, hide, page, results
+# Options: tid, num, what, order, uid, mindate, hide, page, results
# what: user thread
sub dbPostGet {
my($self, %o) = @_;
@@ -169,8 +169,8 @@ sub dbPostGet {
'tp.num = ?' => $o{num} ) : (),
$o{uid} ? (
'tp.uid = ?' => $o{uid} ) : (),
- $o{date} ? (
- 'tp.date > ?' => $o{date} ) : (),
+ $o{mindate} ? (
+ 'tp.date > ?' => $o{mindate} ) : (),
$o{hide} ? (
'tp.hidden = FALSE' => 1 ) : (),
$o{hide} && $o{what} =~ /thread/ ? (