From db2f1dc8051c1b963397f81eb673a1c1dfcab3ad Mon Sep 17 00:00:00 2001 From: Aaron Parecki Date: Sun, 19 Apr 2015 13:10:59 -0700 Subject: [PATCH] forgot to remove limit 2 for testing --- lib/helpers.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/helpers.php b/lib/helpers.php index ef6bbc5..130e533 100644 --- a/lib/helpers.php +++ b/lib/helpers.php @@ -263,7 +263,7 @@ function query_user_frequent_options($type, $user_id) { AND published > :published GROUP BY content ORDER BY COUNT(1) DESC - LIMIT 2 + LIMIT 4 ', ['user_id'=>$user_id, 'type'=>$type, 'published'=>$published])->find_many(); foreach($optionsQ as $o) { $options[] = [