Browse Source

forgot to remove limit 2 for testing

pull/10/head
Aaron Parecki 9 years ago
parent
commit
db2f1dc805
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      lib/helpers.php

+ 1
- 1
lib/helpers.php View File

@ -263,7 +263,7 @@ function query_user_frequent_options($type, $user_id) {
AND published > :published AND published > :published
GROUP BY content GROUP BY content
ORDER BY COUNT(1) DESC ORDER BY COUNT(1) DESC
LIMIT 2
LIMIT 4
', ['user_id'=>$user_id, 'type'=>$type, 'published'=>$published])->find_many(); ', ['user_id'=>$user_id, 'type'=>$type, 'published'=>$published])->find_many();
foreach($optionsQ as $o) { foreach($optionsQ as $o) {
$options[] = [ $options[] = [

Loading…
Cancel
Save