Skip to content

Commit

Permalink
Fix image ordering on share token album links
Browse files Browse the repository at this point in the history
  • Loading branch information
Jokler committed Feb 21, 2024
1 parent 0015c1d commit c260581
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion backend/src/api/album/get_by_share_token.rs
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,8 @@ pub(super) async fn get(
i.focal_length \
FROM images i \
INNER JOIN album_image_associations aia ON aia.image_key=i.key \
WHERE aia.album_key=?1",
WHERE aia.album_key=?1
ORDER BY aia.idx",
)
.context("Failed to prepare statement for image query")?;
let image_iter = stmt
Expand Down

0 comments on commit c260581

Please sign in to comment.