From: Vincent Vanwaelscappel Date: Tue, 22 Apr 2025 12:34:59 +0000 (+0200) Subject: wait #7491 @0.5 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=07f1520011c87c3ec87ff43f59b754f398295e36;p=fluidbook-toolbox.git wait #7491 @0.5 --- diff --git a/app/Fields/FluidbookV3ID.php b/app/Fields/FluidbookV3ID.php index 821b4fbaf..a7a730701 100644 --- a/app/Fields/FluidbookV3ID.php +++ b/app/Fields/FluidbookV3ID.php @@ -19,7 +19,7 @@ class FluidbookV3ID extends SelectFromArray return Cache::remember($cacheKey, 600, function () use ($u) { $res = []; - $q = DB::table('fluidbook_publication')->where('id', '>=', 30000)->where('created_ok', '1')->orderBy('id', 'desc'); + $q = DB::table('fluidbook_publication')->whereNull('deleted_at')->where('created_ok', '1')->orderBy('id', 'desc'); if (!$u->hasPermissionTo('fluidbook-publication:admin')) { $q->whereIn('owner', explode(',', $u->e1_ws_rights)); }