Fixes: 1) Correct list filter fields to use brand__name and category__name for accurate filtering;
Extra: None;
This commit is contained in:
parent
9591494fee
commit
027c001d25
1 changed files with 2 additions and 2 deletions
|
|
@ -240,8 +240,8 @@ class ProductAdmin(FieldsetsMixin, BasicModelAdmin):
|
|||
list_filter = (
|
||||
"is_active",
|
||||
"is_digital",
|
||||
("brand", DALFRelatedFieldAjax),
|
||||
("category", DALFRelatedFieldAjax),
|
||||
("brand__name", DALFRelatedFieldAjax),
|
||||
("category__name", DALFRelatedFieldAjax),
|
||||
("tags", DALFRelatedOnlyField),
|
||||
("stocks__vendor", DALFRelatedOnlyField),
|
||||
"created",
|
||||
|
|
|
|||
Loading…
Reference in a new issue