From e45ce4bd86e38dbae8eea1ff5bc7f8827c80569c Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Wed, 16 Jul 2025 12:43:59 +0200 Subject: [PATCH] wait #7643 @1 --- app/Fields/FluidbookID.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); } -- 2.39.5