This commit is contained in:
@@ -311,7 +311,7 @@ class CategoryController {
|
||||
}
|
||||
|
||||
// Build query conditions
|
||||
const where = { category_id: id };
|
||||
const where = { id: id };
|
||||
if (is_active !== undefined) where.is_active = is_active === 'true';
|
||||
|
||||
// Query subjects
|
||||
|
||||
Reference in New Issue
Block a user