From e179552080b91ee49a10bbe8fce5ca2e7d1397c4 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Sat, 26 Jul 2014 19:51:06 +0200 Subject: only source RPM in main page --- index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'index.php') diff --git a/index.php b/index.php index 5944d67..1489018 100644 --- a/index.php +++ b/index.php @@ -47,7 +47,7 @@ try { $prev = false; $repositories = array(); - foreach ($repo->request(array('ORDER'=>'id')) as $repo) { + foreach ($repo->request(array('id' => '>0', 'ORDER'=>'id')) as $repo) { $repositories[] = array( 'repo_name' => ($repo['main'] != $prev ? $repo['main'] : " "), 'active' => ($repo['main'] != $prev ? -- cgit