summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrandomdan <randomdan@localhost>2012-03-15 21:22:49 +0000
committerrandomdan <randomdan@localhost>2012-03-15 21:22:49 +0000
commit08708f60363d140f6a2f2e680a05e13e06a7b7e5 (patch)
tree7613400ac9e05fdd14141b0dfe7dc912cf1242cd
parentMinor fixes and add pages for browsing by USE flag (diff)
downloadgentoobrowse-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.xml2
-rw-r--r--gentoobrowse/present/package.xml2
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" />