]> _ Git - fluidbook-toolbox.git/commitdiff
wait #7491 @0.5
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Tue, 22 Apr 2025 12:34:59 +0000 (14:34 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Tue, 22 Apr 2025 12:34:59 +0000 (14:34 +0200)
app/Fields/FluidbookV3ID.php

index 821b4fbaf6dcd8e5b8c28421903d0ed8b166bd86..a7a73070132393e011c9d3d434cf8efbddff7b15 100644 (file)
@@ -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));
                 }