diff options
author | randomdan <randomdan@localhost> | 2012-03-15 21:22:49 +0000 |
---|---|---|
committer | randomdan <randomdan@localhost> | 2012-03-15 21:22:49 +0000 |
commit | 08708f60363d140f6a2f2e680a05e13e06a7b7e5 (patch) | |
tree | 7613400ac9e05fdd14141b0dfe7dc912cf1242cd | |
parent | Minor fixes and add pages for browsing by USE flag (diff) | |
download | gentoobrowse-08708f60363d140f6a2f2e680a05e13e06a7b7e5.tar.bz2 gentoobrowse-08708f60363d140f6a2f2e680a05e13e06a7b7e5.tar.xz gentoobrowse-08708f60363d140f6a2f2e680a05e13e06a7b7e5.zip |
Create 404s when row sets optionally don't return rows
-rw-r--r-- | gentoobrowse/present/category.xml | 2 | ||||
-rw-r--r-- | gentoobrowse/present/package.xml | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/gentoobrowse/present/category.xml b/gentoobrowse/present/category.xml index c3ba0de..efea03c 100644 --- a/gentoobrowse/present/category.xml +++ b/gentoobrowse/present/category.xml @@ -3,7 +3,7 @@ xmlns:project2="http://project2.randomdan.homeip.net"> <xi:include href="../views/category.xml" /> <xi:include href="../views/webcommon.xml" /> - <project2:view name="categoryPackages" source="categoryPackages" rootname="packages" recordname="package" filter="byCatName"> + <project2:view name="categoryPackages" source="categoryPackages" rootname="packages" recordname="package" filter="byCatName" required="true"> <parameters> <catname source="uri" index="1" /> </parameters> diff --git a/gentoobrowse/present/package.xml b/gentoobrowse/present/package.xml index db09c42..bc74927 100644 --- a/gentoobrowse/present/package.xml +++ b/gentoobrowse/present/package.xml @@ -4,7 +4,7 @@ <xi:include href="../views/package.xml" /> <xi:include href="../views/use.xml" /> <xi:include href="../views/webcommon.xml" /> - <project2:view name="package" source="packages" rootname="summary" recordname="package" filter="catAndName"> + <project2:view name="package" source="packages" rootname="summary" recordname="package" filter="catAndName" required="true"> <parameters> <cat source="uri" index="1" /> <pkg source="uri" index="2" /> |