]> BookStack Code Mirror - bookstack/blobdiff - app/Entities/Queries/QueryPopular.php
Search: Prevented negated terms filling in UI inputs
[bookstack] / app / Entities / Queries / QueryPopular.php
index 2b46ebfbcf937caf1a1546290a6ce89c139aa868..85f88a1d19c9bd50804198267f21b0986caa29f6 100644 (file)
@@ -35,7 +35,7 @@ class QueryPopular
             ->take($count)
             ->get();
 
-        $this->listLoader->loadIntoRelations($views->all(), 'viewable', false);
+        $this->listLoader->loadIntoRelations($views->all(), 'viewable', true);
 
         return $views->pluck('viewable')->filter();
     }