Commit 23203835 authored by Emmanuel Raviart's avatar Emmanuel Raviart
Browse files

Typo in SQL command.

parent b262f978
...@@ -105,7 +105,7 @@ export const listDossiers = wrapAsyncMiddleware(async function listDossiers( ...@@ -105,7 +105,7 @@ export const listDossiers = wrapAsyncMiddleware(async function listDossiers(
whereClauses.push("(date_dernier_acte >= $<date> OR date_prochain_acte NOTNULL)") whereClauses.push("(date_dernier_acte >= $<date> OR date_prochain_acte NOTNULL)")
} }
if (legislature !== null) { if (legislature !== null) {
whereClauses.push("(legislature = $<legislature>") whereClauses.push("legislature = $<legislature>")
} }
if (term !== null) { if (term !== null) {
whereClauses.push(`uid IN ( whereClauses.push(`uid IN (
......
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