summaryrefslogtreecommitdiffstats
path: root/index.php
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2014-07-26 19:51:06 +0200
committerRemi Collet <fedora@famillecollet.com>2014-07-26 19:51:06 +0200
commite179552080b91ee49a10bbe8fce5ca2e7d1397c4 (patch)
treecc8e38df59d8890b0c69a4bb85e1aca07852c67a /index.php
parent3d3d24cf08a15f7d7043ba773f732b39e1883210 (diff)
only source RPM in main page
Diffstat (limited to 'index.php')
-rw-r--r--index.php2
1 files changed, 1 insertions, 1 deletions
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'] : "&nbsp;"),
'active' => ($repo['main'] != $prev ?