Revision 4653
Added by ben leinfelder almost 16 years ago
lib/style/skins/first/search.js | ||
---|---|---|
286 | 286 |
+ "</entity>" |
287 | 287 |
+ "</datapackage>"; |
288 | 288 |
} |
289 |
else { |
|
290 |
tempQuery += |
|
291 |
"<staticItem name=\"demographic_1\" value=\"\" />" |
|
292 |
+ "<staticItem name=\"demographic_2\" value=\"\" />" |
|
293 |
+ "<staticItem name=\"demographic_3\" value=\"\" />"; |
|
294 |
} |
|
289 | 295 |
|
290 | 296 |
//select the metadata |
291 | 297 |
tempQuery += metadataAttributeSelection; |
lib/style/skins/first/first-assessment-resultset.xsl | ||
---|---|---|
415 | 415 |
<xsl:text>true</xsl:text> |
416 | 416 |
</xsl:when> |
417 | 417 |
<xsl:otherwise> |
418 |
<xsl:text>false</xsl:text>
|
|
418 |
<xsl:text></xsl:text> |
|
419 | 419 |
</xsl:otherwise> |
420 | 420 |
</xsl:choose> |
421 | 421 |
</xsl:attribute> |
Also available in: Unified diff
handle mixture of datapackages: some with demographic data, some without.
takes advantage of the [new] StaticSelectionItem feature in the datamanager