Skip to content

Commit bca257f

Browse files
committed
Reverted field for post category filder
1 parent 7eb6b5e commit bca257f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Model/ResourceModel/Post/Collection.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ public function addFieldToFilter($field, $condition = null)
100100
return $this->addStoreFilter($condition);
101101
}
102102

103-
if ($field === 'category' || $field === 'category_id') {
103+
if ($field === 'category' || $field === 'categories' || $field === 'category_id') {
104104
return $this->addCategoryFilter($condition);
105105
}
106106

0 commit comments

Comments
 (0)