From: Vincent Vanwaelscappel Date: Wed, 16 Jul 2025 10:43:59 +0000 (+0200) Subject: wait #7643 @1 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=e45ce4bd86e38dbae8eea1ff5bc7f8827c80569c;p=fluidbook-toolbox.git wait #7643 @1 --- diff --git a/app/Fields/FluidbookID.php b/app/Fields/FluidbookID.php index 0728bc1ae..b0e111e5c 100644 --- a/app/Fields/FluidbookID.php +++ b/app/Fields/FluidbookID.php @@ -19,7 +19,7 @@ class FluidbookID extends SelectFromArray return Cache::remember($cacheKey, 600, function () use ($u) { $res = []; - $q = DB::table('fluidbook_publication')->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)); }