Mercurial > dive4elements > river
changeset 7549:783b295c35d3
Previous fix for flys/issue1675 was broken. :-/
author | Sascha L. Teichmann <teichmann@intevation.de> |
---|---|
date | Tue, 12 Nov 2013 16:54:18 +0100 |
parents | caac73208745 |
children | 13876b523e33 |
files | artifacts/doc/conf/meta-data.xml |
diffstat | 1 files changed, 10 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/artifacts/doc/conf/meta-data.xml Tue Nov 12 15:37:38 2013 +0100 +++ b/artifacts/doc/conf/meta-data.xml Tue Nov 12 16:54:18 2013 +0100 @@ -1615,17 +1615,23 @@ dc:find-all( '\d{4}', dc:replace-all( - concat($diffids, 'X0000'), - '[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}', '')))" + $diffids, + '[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}', '')))" type="number"/> + <dc:if test="$year_from = dc:min-number('x')"> + <dc:variable name="year_from" expr="0" type="number"/> + </dc:if> <dc:variable name="year_to" expr=" dc:max-number( dc:find-all( '\d{4}', dc:replace-all( - concat($diffids, 'X9999'), - '[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}', '')))" + $diffids, + '[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}', '')))" type="number"/> + <dc:if test="$year_to = dc:max-number('x')"> + <dc:variable name="year_to" expr="9999" type="number"/> + </dc:if> </dc:when> <dc:otherwise> <dc:comment>Just show everything</dc:comment>