NIHVIVO-1625 For custom list views that order by end datetime descending, reorder (within a collation, if property is collated) to put nulls at beginning rather than end.

This commit is contained in:
rjy7 2011-01-07 17:13:46 +00:00
parent ab34a586fe
commit c50dc09c86
3 changed files with 3 additions and 3 deletions

View file

@ -24,7 +24,7 @@
?dateTimeEndValue core:dateTime ?dateTimeEnd }
}
}
} ORDER BY DESC(?dateTimeStart) DESC(?dateTimeEnd) ?personName
} ORDER BY DESC(?dateTimeEnd) DESC(?dateTimeStart) ?personName
</query>
<template>propStatement-hasRole.ftl</template>

View file

@ -24,7 +24,7 @@
?dateTimeEndValue core:dateTime ?dateTimeEnd }
}
}
} ORDER BY DESC(?dateTimeStart) DESC(?dateTimeEnd) ?orgName
} ORDER BY DESC(?dateTimeEnd) DESC(?dateTimeStart) ?orgName
</query>
<template>propStatement-personInPosition.ftl</template>

View file

@ -29,7 +29,7 @@
?dateTimeStartValue core:dateTime ?dateTimeStart }
}
OPTIONAL { GRAPH ?g10 { ?dateTimeInterval core:end ?dateTimeEndValue .
?dateTimeEndValue core:dateTime ?dateTimeEnd }
?dateTimeEndValue core:dateTime ?dateTimeEnd }
}
}
} ORDER BY ?subclass DESC(?dateTimeEnd) DESC(?dateTimeStart) ?indivName