Index: trunk/grails-app/controllers/AppCoreController.groovy
===================================================================
--- trunk/grails-app/controllers/AppCoreController.groovy	(revision 686)
+++ trunk/grails-app/controllers/AppCoreController.groovy	(revision 687)
@@ -63,7 +63,10 @@
         def plugins = pluginProperties.collect{ it.key + '-' + it.value }.join(", ")
 
+        def sections = Section.findAllByIsActive(true).sort { p1, p2 -> p1.name.compareToIgnoreCase(p2.name) }
+
         return [grailsVersion: grailsVersion,
                     applicationString: applicationString,
-                    plugins: plugins]
+                    plugins: plugins,
+                    sections: sections]
     }
 
Index: trunk/grails-app/controllers/ReportController.groovy
===================================================================
--- trunk/grails-app/controllers/ReportController.groovy	(revision 686)
+++ trunk/grails-app/controllers/ReportController.groovy	(revision 687)
@@ -144,8 +144,12 @@
         params.logoUrl = grailsApplication.mainContext.getResource('images/logo.png').getURL()
         params.currentUser = authService.currentUser
-        if(params.asset.id == 'all')
-            params.asset = "All"
-        else
-            params.asset = Asset.get(params.asset.id.toLong())
+        if(params.section.id == 'all') {
+            params.section = "All"
+            params.site = "All"
+        }
+        else {
+            params.section = Section.get(params.section.id.toLong())
+            params.site = params.section.site
+        }
 
         def dataModel = assetReportService.getAssetDetail(params, RCU.getLocale(request))
Index: trunk/grails-app/services/AssetReportService.groovy
===================================================================
--- trunk/grails-app/services/AssetReportService.groovy	(revision 686)
+++ trunk/grails-app/services/AssetReportService.groovy	(revision 687)
@@ -111,7 +111,7 @@
                     'left join asset.assetExtendedAttributes as attrib',
                     'left join attrib.extendedAttributeType as attribT'
-            if(params.asset instanceof Asset) {
-                namedParams.asset = params.asset
-                where 'asset = :asset'
+            if(params.section instanceof Section) {
+                namedParams.section = params.section
+                where 'asset.section = :section'
             }
             order 'by asset.name asc, attribT.name asc'
Index: trunk/grails-app/views/appCore/start.gsp
===================================================================
--- trunk/grails-app/views/appCore/start.gsp	(revision 686)
+++ trunk/grails-app/views/appCore/start.gsp	(revision 687)
@@ -143,6 +143,6 @@
                                                                             format="PDF, XLS">
                                                 <g:select optionKey="id"
-                                                                    from="${Asset.findAllByIsActive(true).sort { p1, p2 -> p1.name.compareToIgnoreCase(p2.name) }}"
-                                                                    name="asset.id"
+                                                                    from="${sections}"
+                                                                    name="section.id"
                                                                     noSelection="['all':/${g.message(code:'default.all.select.text')}/]">
                                                 </g:select>
@@ -155,5 +155,5 @@
                                                                             format="PDF, XLS">
                                                 <g:select optionKey="id"
-                                                                    from="${Section.findAllByIsActive(true).sort { p1, p2 -> p1.name.compareToIgnoreCase(p2.name) }}"
+                                                                    from="${sections}"
                                                                     name="section.id">
                                                 </g:select>
@@ -166,5 +166,5 @@
                                                                             format="PDF, XLS">
                                                 <g:select optionKey="id"
-                                                                    from="${Section.findAllByIsActive(true).sort { p1, p2 -> p1.name.compareToIgnoreCase(p2.name) }}"
+                                                                    from="${sections}"
                                                                     name="section.id">
                                                 </g:select>
Index: trunk/web-app/reports/assetDetail.jrxml
===================================================================
--- trunk/web-app/reports/assetDetail.jrxml	(revision 686)
+++ trunk/web-app/reports/assetDetail.jrxml	(revision 687)
@@ -39,8 +39,9 @@
 	<parameter name="currentUser" class="java.lang.String"/>
 	<parameter name="logoUrl" class="java.lang.String"/>
-	<parameter name="asset" class="java.lang.String"/>
+	<parameter name="section" class="java.lang.String"/>
 	<parameter name="SUBREPORT_DIR" class="java.lang.String" isForPrompting="false">
 		<defaultValueExpression><![CDATA["C:\\Documents and Settings\\kromhoutg\\My Documents\\reports\\"]]></defaultValueExpression>
 	</parameter>
+	<parameter name="site" class="java.lang.String"/>
 	<queryString language="SQL">
 		<![CDATA[]]>
@@ -86,7 +87,7 @@
 	</background>
 	<pageHeader>
-		<band height="93" splitType="Stretch">
-			<textField isStretchWithOverflow="true">
-				<reportElement key="staticText-1" stretchType="RelativeToTallestObject" x="0" y="57" width="340" height="20" isPrintWhenDetailOverflows="true"/>
+		<band height="60" splitType="Stretch">
+			<textField isStretchWithOverflow="true">
+				<reportElement key="staticText-1" stretchType="RelativeToTallestObject" x="352" y="9" width="225" height="20" isPrintWhenDetailOverflows="true"/>
 				<textElement textAlignment="Center" verticalAlignment="Top" markup="none">
 					<font fontName="Serif" size="14"/>
@@ -99,11 +100,9 @@
 			</image>
 			<textField isStretchWithOverflow="true">
-				<reportElement stretchType="RelativeToTallestObject" x="0" y="77" width="340" height="12" isPrintWhenDetailOverflows="true">
-					<printWhenExpression><![CDATA[$P{asset}.equals( "All" )]]></printWhenExpression>
-				</reportElement>
+				<reportElement stretchType="RelativeToTallestObject" x="352" y="29" width="225" height="15" isPrintWhenDetailOverflows="true"/>
 				<textElement textAlignment="Center" verticalAlignment="Middle">
-					<font fontName="Serif" size="8"/>
-				</textElement>
-				<textFieldExpression class="java.lang.String"><![CDATA["For All Assets"]]></textFieldExpression>
+					<font fontName="Serif" size="10"/>
+				</textElement>
+				<textFieldExpression class="java.lang.String"><![CDATA["Site: "+$P{site}+", "+"Section: "+$P{section}]]></textFieldExpression>
 			</textField>
 		</band>
