]> _ Git - fluidbook-toolbox.git/commitdiff
wait #7643 @1
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Wed, 16 Jul 2025 10:43:59 +0000 (12:43 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Wed, 16 Jul 2025 10:43:59 +0000 (12:43 +0200)
app/Fields/FluidbookID.php

index 0728bc1ae74ece6fb2d57c9afa971a932649b6f8..b0e111e5c9e00b9ab5565c784648fc927d7d8861 100644 (file)
@@ -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));
                 }