Skip to content

Commit f7e2fe1

Browse files
committed
Added site_id parameter to components
1 parent efdb6bc commit f7e2fe1

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

app/component/categories.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ class Categories extends ComponentBase {
2929
public static $defaultOptions = [
3030
'start' => 0,
3131
'count' => ['url', 100],
32-
'post_id' => NULL,
32+
'site_id' => NULL,
3333
'order' => ['url', 'price asc'],
3434
'taxonomy_item_id' => NULL,
3535
'limit' => 7,

app/component/categories/pages.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,11 @@
2828
class Pages extends ComponentBase {
2929
public static $defaultOptions = [
3030
'start' => 0,
31+
'limit' => 7,
3132
'count' => ['url', 100],
32-
'id_manufacturer' => NULL,
33+
'site_id' => NULL,
3334
'order' => ['url', 'price asc'],
3435
'taxonomy_item_id' => NULL,
35-
'limit' => 7,
3636
'page' => 1,
3737
'parents_only' => false,
3838
'parents_children_only' => false,

0 commit comments

Comments
 (0)