Commit 9a73cc82 authored by Emmanuel Raviart's avatar Emmanuel Raviart
Browse files

Sort dossiers.

parent 1e1405cc
......@@ -100,6 +100,9 @@ export const listDossiers = wrapAsyncMiddleware(async function listDossiers(
WHERE
date_dernier_acte >= $<date>
OR date_prochain_acte NOTNULL
ORDER BY
date_prochain_acte DESC NULLS LAST,
date_dernier_acte DESC NULLS LAST
`,
{
date,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment