Browse Source

forgot to remove limit 2 for testing

pull/10/head
Aaron Parecki 5 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
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[] = [

Loading…
Cancel
Save