new types

This commit is contained in:
Etienne Roudeix
2013-07-03 10:52:24 +02:00
parent 32f1fb3441
commit 92d15d44c7
7 changed files with 214 additions and 32 deletions

View File

@@ -95,6 +95,7 @@ class Product extends BaseLoop
new Argument(
'ref',
new TypeCollection(
new Type\AlphaNumStringType(),
new Type\JsonType()
)
),
@@ -139,6 +140,11 @@ class Product extends BaseLoop
}
if (!is_null($this->category)) {
if(null !== $this->depth) {
}
$search->filterByCategory(
CategoryQuery::create()->filterById($this->category, \Criteria::IN)->find(),
\Criteria::IN