AntonLV 8 роки тому
батько
коміт
ce9817ecb2

+ 1 - 0
modules/boonex/albums/classes/BxAlbumsSearchResult.php

@@ -32,6 +32,7 @@ class BxAlbumsSearchResult extends BxBaseModTextSearchResult
                 'author' => array('value' => '', 'field' => 'author', 'operator' => '='),
         		'featured' => array('value' => '', 'field' => 'featured', 'operator' => '<>'),
         		'status' => array('value' => 'active', 'field' => 'status', 'operator' => '='),
+        		'statusAdmin' => array('value' => 'active', 'field' => 'status_admin', 'operator' => '='),
             ),
             'paginate' => array('perPage' => getParam('bx_albums_per_page_browse'), 'start' => 0),
             'sorting' => 'last',

+ 1 - 0
modules/boonex/files/classes/BxFilesSearchResult.php

@@ -27,6 +27,7 @@ class BxFilesSearchResult extends BxBaseModTextSearchResult
                 'author' => array('value' => '', 'field' => 'author', 'operator' => '='),
         		'featured' => array('value' => '', 'field' => 'featured', 'operator' => '<>'),
         		'status' => array('value' => 'active', 'field' => 'status', 'operator' => '='),
+        		'statusAdmin' => array('value' => 'active', 'field' => 'status_admin', 'operator' => '='),
             ),
             'paginate' => array('perPage' => getParam('bx_files_per_page_browse'), 'start' => 0),
             'sorting' => 'last',

+ 1 - 0
modules/boonex/forum/classes/BxForumSearchResult.php

@@ -28,6 +28,7 @@ class BxForumSearchResult extends BxBaseModTextSearchResult
         		'category' => array('value' => '', 'field' => 'cat', 'operator' => '='),
         		'featured' => array('value' => '', 'field' => 'featured', 'operator' => '<>'),
         		'status' => array('value' => 'active', 'field' => 'status', 'operator' => '='),
+        		'statusAdmin' => array('value' => 'active', 'field' => 'status_admin', 'operator' => '='),
             ),
             'paginate' => array('perPage' => getParam('bx_forum_per_page_browse'), 'start' => 0),
             'sorting' => 'last',

+ 1 - 0
modules/boonex/market/classes/BxMarketSearchResult.php

@@ -28,6 +28,7 @@ class BxMarketSearchResult extends BxBaseModTextSearchResult
         		'featured' => array('value' => '', 'field' => 'featured', 'operator' => '<>'),
         		'except' => array('value' => '', 'field' => 'id', 'operator' => 'not in'),
         		'status' => array('value' => 'active', 'field' => 'status', 'operator' => '='),
+        		'statusAdmin' => array('value' => 'active', 'field' => 'status_admin', 'operator' => '='),
             ),
             'paginate' => array('perPage' => getParam('bx_market_per_page_browse'), 'start' => 0),
             'sorting' => 'last',

+ 1 - 0
modules/boonex/polls/classes/BxPollsSearchResult.php

@@ -29,6 +29,7 @@ class BxPollsSearchResult extends BxBaseModTextSearchResult
                 'author' => array('value' => '', 'field' => 'author', 'operator' => '='),
         		'featured' => array('value' => '', 'field' => 'featured', 'operator' => '<>'),
         		'status' => array('value' => 'active', 'field' => 'status', 'operator' => '='),
+        		'statusAdmin' => array('value' => 'active', 'field' => 'status_admin', 'operator' => '='),
             ),
             'paginate' => array('perPage' => getParam('bx_polls_per_page_browse'), 'start' => 0),
             'sorting' => 'last',

+ 1 - 0
modules/boonex/posts/classes/BxPostsSearchResult.php

@@ -27,6 +27,7 @@ class BxPostsSearchResult extends BxBaseModTextSearchResult
                 'author' => array('value' => '', 'field' => 'author', 'operator' => '='),
         		'featured' => array('value' => '', 'field' => 'featured', 'operator' => '<>'),
         		'status' => array('value' => 'active', 'field' => 'status', 'operator' => '='),
+        		'statusAdmin' => array('value' => 'active', 'field' => 'status_admin', 'operator' => '='),
             ),
             'paginate' => array('perPage' => getParam('bx_posts_per_page_browse'), 'start' => 0),
             'sorting' => 'last',

+ 1 - 0
modules/boonex/shopify/classes/BxShopifySearchResult.php

@@ -27,6 +27,7 @@ class BxShopifySearchResult extends BxBaseModTextSearchResult
                 'author' => array('value' => '', 'field' => 'author', 'operator' => '='),
         		'featured' => array('value' => '', 'field' => 'featured', 'operator' => '<>'),
         		'status' => array('value' => 'active', 'field' => 'status', 'operator' => '='),
+        		'statusAdmin' => array('value' => 'active', 'field' => 'status_admin', 'operator' => '='),
             ),
             'paginate' => array('perPage' => getParam('bx_shopify_per_page_browse'), 'start' => 0),
             'sorting' => 'last',

+ 1 - 0
modules/boonex/snipcart/classes/BxSnipcartSearchResult.php

@@ -27,6 +27,7 @@ class BxSnipcartSearchResult extends BxBaseModTextSearchResult
                 'author' => array('value' => '', 'field' => 'author', 'operator' => '='),
         		'featured' => array('value' => '', 'field' => 'featured', 'operator' => '<>'),
         		'status' => array('value' => 'active', 'field' => 'status', 'operator' => '='),
+        		'statusAdmin' => array('value' => 'active', 'field' => 'status_admin', 'operator' => '='),
             ),
             'paginate' => array('perPage' => getParam('bx_snipcart_per_page_browse'), 'start' => 0),
             'sorting' => 'last',

+ 1 - 0
modules/boonex/videos/classes/BxVideosSearchResult.php

@@ -27,6 +27,7 @@ class BxVideosSearchResult extends BxBaseModTextSearchResult
                 'author' => array('value' => '', 'field' => 'author', 'operator' => '='),
         		'featured' => array('value' => '', 'field' => 'featured', 'operator' => '<>'),
         		'status' => array('value' => 'active', 'field' => 'status', 'operator' => '='),
+        		'statusAdmin' => array('value' => 'active', 'field' => 'status_admin', 'operator' => '='),
             ),
             'paginate' => array('perPage' => getParam('bx_videos_per_page_browse'), 'start' => 0),
             'sorting' => 'last',