From f130f168270b73d77490d9b002990487b424745a Mon Sep 17 00:00:00 2001 From: Rasmus Kaj Date: Sat, 18 May 2019 15:27:52 +0200 Subject: [PATCH] Don't exclude raw images from findsizes. --- src/adm/findphotos.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/adm/findphotos.rs b/src/adm/findphotos.rs index a500c58..88f5611 100644 --- a/src/adm/findphotos.rs +++ b/src/adm/findphotos.rs @@ -76,7 +76,7 @@ impl FindSizes { let start = Instant::now(); let mut c = 0; while start.elapsed().as_secs() < 5 { - let photos = Photo::query(true) + let photos = p::photos .filter(p::width.is_null()) .filter(p::height.is_null()) .order((p::is_public.desc(), p::date.desc().nulls_last()))