Skip to content

withoutGlobalScopes does not work in setupShowOperation #4935

@AlexKomMsk

Description

@AlexKomMsk

Bug report

What I did

open setupShowOperation

make

$this->crud->query = $this->crud->query->withoutGlobalScopes();

and i get 404 error.

It works in setupListOperation.

What I expected to happen

I want to get a model in the admin without soft-deleted and without global scopes.

What happened

404

Backpack, Laravel, PHP, DB version

When I run php artisan backpack:version the output is:

LARAVEL VERSION:

v9.52.0@eb85cd9d72e5bfa54b4d0d9040786f26d6184a9e

BACKPACK PACKAGE VERSIONS:

backpack/crud: 5.5.0
backpack/generators: 3.3.14

Metadata

Metadata

Assignees

Type

No type

Projects

Status

In Progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions