Skip to content

armgit / Vvveb

Public Imported from GitHub
0

Powerful and easy to use cms to build websites, blogs or ecommerce stores.

Added site_id parameter to components

givanzf7e2fe14d100
diff --git a/app/component/categories.php b/app/component/categories.php
index f881f96..0b59c86 100755
--- a/app/component/categories.php
+++ b/app/component/categories.php
@@ -29,7 +29,7 @@ class Categories extends ComponentBase {
public static $defaultOptions = [
'start' => 0,
'count' => ['url', 100],
- 'post_id' => NULL,
+ 'site_id' => NULL,
'order' => ['url', 'price asc'],
'taxonomy_item_id' => NULL,
'limit' => 7,
diff --git a/app/component/categories/pages.php b/app/component/categories/pages.php
index a63f9a4..32eae6d 100755
--- a/app/component/categories/pages.php
+++ b/app/component/categories/pages.php
@@ -28,11 +28,11 @@ use Vvveb\System\Event;
class Pages extends ComponentBase {
public static $defaultOptions = [
'start' => 0,
+ 'limit' => 7,
'count' => ['url', 100],
- 'id_manufacturer' => NULL,
+ 'site_id' => NULL,
'order' => ['url', 'price asc'],
'taxonomy_item_id' => NULL,
- 'limit' => 7,
'page' => 1,
'parents_only' => false,
'parents_children_only' => false,