-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix displaying of deleted variants in admin panel
Because of the default scope added in 466251e, the `discarded` scope currently operates on the default `kept` scope and returns an empty set. This fixes the scope for checking the `discarded` variants as suggested here https://github.com/jhawthorn/discard#default-scope, to correctly display the "deleted variants" filter in the admin variants page.
- Loading branch information
1 parent
5cd7e9c
commit 9dba25e
Showing
3 changed files
with
24 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters