Files
planka/server
Daniel Hiller 2d289cd3d5 fix: Make endless list pagination deterministic
The filtered branch of `getByEndlessListId` applied `LIMIT` without an
`ORDER BY`, so Postgres was free to hand back any matching rows. With a
search over 64 cards the first page returned the oldest ones and a full
cursor walk reached 60 of them across 149 rows — cards both skipped and
repeated. The query now orders the way the cursor reads it.

The cursor itself is validated as ISO 8601, which admits forms Postgres
rejects as a timestamp (`2026`, `2026-W35-3`, a comma as the decimal
separator), each of them a 500 from the adapter. It is normalized before
the query, and stays a string because the equality half of the cursor
reads a `Date` as an empty constraint.
2026-08-26 09:23:01 +02:00
..
2026-08-07 16:17:24 +02:00
2026-02-04 12:53:15 +01:00
2019-08-31 04:07:25 +05:00
2026-08-07 19:15:43 +02:00
2019-10-14 21:50:52 +05:00
2025-05-10 02:09:06 +02:00
2026-02-04 12:53:15 +01:00
2025-05-10 02:09:06 +02:00
2026-08-09 22:36:27 +02:00
2026-08-07 19:15:43 +02:00
2025-05-10 02:09:06 +02:00
2026-08-10 18:28:48 +02:00