The count query reused statusFilter (built with $3 against the list query's 3-element params array) but only passed a 1-element params array, causing a Postgres bind-parameter mismatch (500) on any `?status=` filtered request. Pre-existing since 18-03; surfaced by the 18-04 gap-closure code re-review. Gives the count query its own independent param array/placeholder numbering. |
||
|---|---|---|
| .. | ||
| [id] | ||
| route.ts | ||