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:
parent
ab34a586fe
commit
c50dc09c86
3 changed files with 3 additions and 3 deletions
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue