[Rt-commit] r6091 - in commitbit: .
jesse at bestpractical.com
jesse at bestpractical.com
Thu Sep 28 18:19:06 EDT 2006
Author: jesse
Date: Thu Sep 28 18:19:06 2006
New Revision: 6091
Modified:
commitbit/ (props changed)
commitbit/trunk/share/web/templates/index.html
Log:
r27906 at 123: jesse | 2006-09-28 18:19:04 -0400
* hide invisible projects from the front page
Modified: commitbit/trunk/share/web/templates/index.html
==============================================================================
--- commitbit/trunk/share/web/templates/index.html (original)
+++ commitbit/trunk/share/web/templates/index.html Thu Sep 28 18:19:06 2006
@@ -27,8 +27,10 @@
my $projects = CommitBit::Model::ProjectCollection->new;
$projects->unlimit();
$projects->order_by({ column => 'name', order => 'asc'});
+$projects->limit(column => 'publicly_visible', operator => '=', value => '1' );
my $featured = CommitBit::Model::ProjectCollection->new;
$featured->limit(column => 'featured', operator => '=', value => '1' );
+$featured->limit(column => 'publicly_visible', operator => '=', value => '1' );
$featured->order_by({ column => 'name', order => 'asc'});
More information about the Rt-commit
mailing list