Skip to content
Snippets Groups Projects

Show latest plugins in overview #51

Merged Moritz Strohm requested to merge github/fork/derfl0/master into master
2 files
+ 10
1
Compare changes
  • Side-by-side
  • Inline

Files

+ 2
0
@@ -89,6 +89,8 @@ class PresentingController extends MarketController
}
$this->plugins = MarketPlugin::findBySQL("publiclyvisible = 1 AND approved = 1 ORDER BY RAND() LIMIT 3");
$this->latest_plugins = MarketPlugin::findBySQL("publiclyvisible = 1 AND approved = 1 ORDER BY mkdate DESC LIMIT 5");
$this->best_plugins = MarketPlugin::findBySQL("publiclyvisible = 1 AND approved = 1 ORDER BY rating DESC LIMIT 6");
Loading