feat(reading/index.php.liquid): update reading progress on page load

This commit is contained in:
Cory Dransfeldt 2025-06-15 13:35:43 -07:00
parent 320f5e53db
commit fc32f457c0
No known key found for this signature in database
7 changed files with 75 additions and 9 deletions

View file

@ -17,6 +17,7 @@ SELECT
CONCAT(globals.cdn_url, '/', df.filename_disk) AS image,
b.favorite,
b.tattoo,
b.isbn,
(
SELECT
array_agg(t.name)

View file

@ -0,0 +1,8 @@
CREATE OR REPLACE VIEW optimized_books_progress AS
SELECT
isbn,
progress
FROM
optimized_books
WHERE
status = 'started';