Quick and Claude Fable 5
adbdd86ac5
fix(catalog): restore search broken by unaliased COALESCE in scored CTE
...
The audiobook NULL-poster work wrapped nullable string columns in bare
COALESCE(...) expressions inside itemColumns/qualifiedItemColumns. Postgres
names an unaliased COALESCE output "coalesce", so the search query's scored
CTE stopped exposing poster_path etc. and every /catalog?source=query
request failed with SQLSTATE 42703, surfacing as a 500.
Alias each coalesced column back to its own name, deduplicate the three
copies of the column list into a shared itemColumnNames slice, and give the
search CTE's GROUP BY its own alias-free reference list (output aliases are
invalid in GROUP BY). Regression tests pin both invariants.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com >
2026-06-09 15:45:58 -04:00
..
2026-05-26 20:04:54 -04:00
2026-05-22 23:26:56 -04:00
2026-05-29 12:16:18 -04:00
2026-05-29 12:16:18 -04:00
2026-06-08 21:05:33 -04:00
2026-06-05 16:33:40 -04:00
2026-06-08 21:05:33 -04:00
2026-05-29 13:50:48 -04:00
2026-05-29 13:50:48 -04:00
2026-05-29 13:49:34 -04:00
2026-05-29 13:49:34 -04:00
2026-06-07 15:57:05 -04:00
2026-05-22 23:26:56 -04:00
2026-06-07 15:57:05 -04:00
2026-06-07 15:57:05 -04:00
2026-05-22 23:26:56 -04:00
2026-05-22 23:26:56 -04:00
2026-05-22 23:26:56 -04:00
2026-05-22 23:26:56 -04:00
2026-06-08 18:17:08 -04:00
2026-05-23 23:48:25 -04:00
2026-06-08 18:17:08 -04:00
2026-06-08 09:33:55 -04:00
2026-06-08 09:33:55 -04:00
2026-06-08 15:25:48 -04:00
2026-06-08 15:25:48 -04:00
2026-05-27 13:59:29 -04:00
2026-05-27 14:27:14 -04:00
2026-05-29 11:53:32 -04:00
2026-05-29 11:53:32 -04:00
2026-05-27 10:11:58 -04:00
2026-05-22 23:26:56 -04:00
2026-05-22 23:26:56 -04:00
2026-05-22 23:26:56 -04:00
2026-05-22 23:26:56 -04:00
2026-06-07 21:32:40 -04:00
2026-06-08 09:33:55 -04:00
2026-05-22 23:26:56 -04:00
2026-05-22 23:26:56 -04:00
2026-05-22 23:26:56 -04:00
2026-05-22 23:26:56 -04:00
2026-05-28 17:11:11 -04:00
2026-06-09 15:45:58 -04:00
2026-06-09 15:45:58 -04:00
2026-05-22 23:26:56 -04:00
2026-05-22 23:26:56 -04:00
2026-05-23 14:19:04 -04:00
2026-05-22 23:26:56 -04:00
2026-05-23 14:19:04 -04:00
2026-05-22 23:26:56 -04:00
2026-05-22 23:26:56 -04:00
2026-05-27 10:11:58 -04:00
2026-06-02 11:24:33 -04:00
2026-06-02 11:24:33 -04:00
2026-06-07 21:32:40 -04:00
2026-06-07 21:32:40 -04:00
2026-05-22 23:26:56 -04:00
2026-05-24 22:27:18 -04:00
2026-05-24 22:38:44 -04:00
2026-06-07 15:57:05 -04:00
2026-06-07 15:57:05 -04:00
2026-06-07 15:57:05 -04:00
2026-06-07 15:57:05 -04:00
2026-05-27 10:11:58 -04:00
2026-05-27 14:27:14 -04:00
2026-05-22 23:26:56 -04:00
2026-05-22 23:26:56 -04:00
2026-05-24 01:14:39 -04:00
2026-05-24 01:14:39 -04:00
2026-05-22 23:26:56 -04:00
2026-05-22 23:26:56 -04:00
2026-05-27 14:27:14 -04:00
2026-05-22 23:26:56 -04:00
2026-05-27 21:32:18 -04:00
2026-06-05 16:33:40 -04:00