Skip to content

Commit

Permalink
Fixed. Correction of displaying a product category if it is not a con…
Browse files Browse the repository at this point in the history
…tainer [PR #509]

Показываем все категории
  • Loading branch information
Ibochkarev committed Dec 26, 2020
2 parents 83461e5 + d8ab3a9 commit dacd4b5
Showing 1 changed file with 2 additions and 0 deletions.
Expand Up @@ -58,6 +58,8 @@ public function getResourceQuery()
'context_key' => $this->contextKey,
'show_in_tree' => true,
'isfolder' => true,
'OR:class_key:=' => 'msCategory',
'AND:context_key:=' => $this->contextKey,
));
if (empty($this->startNode) && !empty($this->defaultRootId)) {
$c->where(array(
Expand Down

0 comments on commit dacd4b5

Please sign in to comment.