Skip to content

Commit a4393aa

Browse files
committed
Merge branch '2.3.0-release' into MAGETWO-95002
2 parents 456b72e + f0fcaa0 commit a4393aa

File tree

168 files changed

+583
-338
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

168 files changed

+583
-338
lines changed

app/code/Magento/CatalogSearch/Block/Advanced/Form.php

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,6 @@
44
* See COPYING.txt for license details.
55
*/
66

7-
/**
8-
* Advanced search form
9-
*
10-
* @author Magento Core Team <core@magentocommerce.com>
11-
*/
127
namespace Magento\CatalogSearch\Block\Advanced;
138

149
use Magento\CatalogSearch\Model\Advanced;
@@ -21,10 +16,10 @@
2116
use Magento\Framework\View\Element\Template\Context;
2217

2318
/**
19+
* Advanced search form
20+
*
2421
* @api
2522
* @since 100.0.2
26-
* @deprecated CatalogSearch will be removed in 2.4, and {@see \Magento\ElasticSearch}
27-
* will replace it as the default search engine.
2823
*/
2924
class Form extends Template
3025
{
@@ -60,7 +55,7 @@ public function __construct(
6055
}
6156

6257
/**
63-
* @return AbstractBlock
58+
* @inheritdoc
6459
*/
6560
public function _prepareLayout()
6661
{
@@ -288,6 +283,8 @@ public function getAttributeYesNoElement($attribute)
288283
}
289284

290285
/**
286+
* Get select block.
287+
*
291288
* @return BlockInterface
292289
*/
293290
protected function _getSelectBlock()
@@ -301,6 +298,8 @@ protected function _getSelectBlock()
301298
}
302299

303300
/**
301+
* Get date block.
302+
*
304303
* @return BlockInterface|mixed
305304
*/
306305
protected function _getDateBlock()

app/code/Magento/CatalogSearch/Block/Advanced/Result.php

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@
1818
*
1919
* @api
2020
* @since 100.0.2
21-
* @deprecated CatalogSearch will be removed in 2.4, and {@see \Magento\ElasticSearch}
22-
* will replace it as the default search engine.
2321
*/
2422
class Result extends Template
2523
{
@@ -65,7 +63,7 @@ public function __construct(
6563
}
6664

6765
/**
68-
* @return AbstractBlock
66+
* @inheritdoc
6967
*/
7068
protected function _prepareLayout()
7169
{
@@ -127,6 +125,8 @@ public function setListModes()
127125
}
128126

129127
/**
128+
* Initialize list collection.
129+
*
130130
* @return void
131131
*/
132132
public function setListCollection()
@@ -135,6 +135,8 @@ public function setListCollection()
135135
}
136136

137137
/**
138+
* Get product collection.
139+
*
138140
* @return Collection
139141
*/
140142
protected function _getProductCollection()
@@ -143,6 +145,8 @@ protected function _getProductCollection()
143145
}
144146

145147
/**
148+
* Set search model.
149+
*
146150
* @return Advanced
147151
*/
148152
public function getSearchModel()
@@ -151,6 +155,8 @@ public function getSearchModel()
151155
}
152156

153157
/**
158+
* Get result count.
159+
*
154160
* @return mixed
155161
*/
156162
public function getResultCount()
@@ -163,6 +169,8 @@ public function getResultCount()
163169
}
164170

165171
/**
172+
* Get product list HTML.
173+
*
166174
* @return string
167175
*/
168176
public function getProductListHtml()
@@ -171,6 +179,8 @@ public function getProductListHtml()
171179
}
172180

173181
/**
182+
* Get form URL.
183+
*
174184
* @return string
175185
*/
176186
public function getFormUrl()
@@ -184,6 +194,8 @@ public function getFormUrl()
184194
}
185195

186196
/**
197+
* Get search criteria.
198+
*
187199
* @return array
188200
*/
189201
public function getSearchCriterias()

app/code/Magento/CatalogSearch/Block/Plugin/FrontTabPlugin.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,7 @@
1111
use Magento\Framework\Data\Form\Element\Fieldset;
1212

1313
/**
14-
* Plugin for Magento\Catalog\Block\Adminhtml\Product\Attribute\Edit\Tab\Front
15-
* @deprecated CatalogSearch will be removed in 2.4, and {@see \Magento\ElasticSearch}
16-
* will replace it as the default search engine.
14+
* Add Search Weight field to the product attribute add/edit tab
1715
*/
1816
class FrontTabPlugin
1917
{

app/code/Magento/CatalogSearch/Block/Result.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@
1818
*
1919
* @api
2020
* @since 100.0.2
21-
* @deprecated CatalogSearch will be removed in 2.4, and {@see \Magento\ElasticSearch}
22-
* will replace it as the default search engine.
2321
*/
2422
class Result extends Template
2523
{

app/code/Magento/CatalogSearch/Block/SearchTermsLog.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,7 @@
99
use Magento\Framework\View\Element\Block\ArgumentInterface;
1010

1111
/**
12-
* Class for logging search terms on cached pages
13-
* @deprecated CatalogSearch will be removed in 2.4, and {@see \Magento\ElasticSearch}
14-
* will replace it as the default search engine.
12+
* Provider of the information on whether the page is cacheable, so that AJAX-based logging of terms can be triggered
1513
*/
1614
class SearchTermsLog implements ArgumentInterface
1715
{

app/code/Magento/CatalogSearch/Controller/Advanced/Index.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,12 @@
1111
use Magento\Framework\Controller\ResultFactory;
1212

1313
/**
14-
* @deprecated CatalogSearch will be removed in 2.4, and {@see \Magento\ElasticSearch}
15-
* will replace it as the default search engine.
14+
* Advanced search controller.
1615
*/
1716
class Index extends \Magento\Framework\App\Action\Action implements HttpGetActionInterface, HttpPostActionInterface
1817
{
1918
/**
20-
* @return \Magento\Framework\Controller\ResultInterface
19+
* @inheritdoc
2120
*/
2221
public function execute()
2322
{

app/code/Magento/CatalogSearch/Controller/Advanced/Result.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,7 @@
1313
use Magento\Framework\UrlFactory;
1414

1515
/**
16-
* @deprecated CatalogSearch will be removed in 2.4, and {@see \Magento\ElasticSearch}
17-
* will replace it as the default search engine.
16+
* Advanced search result.
1817
*/
1918
class Result extends \Magento\Framework\App\Action\Action implements HttpGetActionInterface, HttpPostActionInterface
2019
{
@@ -50,7 +49,7 @@ public function __construct(
5049
}
5150

5251
/**
53-
* @return \Magento\Framework\Controller\Result\Redirect
52+
* @inheritdoc
5453
*/
5554
public function execute()
5655
{

app/code/Magento/CatalogSearch/Controller/Result/Index.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@
1616
use Magento\Search\Model\PopularSearchTerms;
1717

1818
/**
19-
* @deprecated CatalogSearch will be removed in 2.4, and {@see \Magento\ElasticSearch}
20-
* will replace it as the default search engine.
19+
* Search result.
2120
*/
2221
class Index extends \Magento\Framework\App\Action\Action implements HttpGetActionInterface, HttpPostActionInterface
2322
{

app/code/Magento/CatalogSearch/Controller/SearchTermsLog/Save.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@
1515

1616
/**
1717
* Controller for save search terms
18-
* @deprecated CatalogSearch will be removed in 2.4, and {@see \Magento\ElasticSearch}
19-
* will replace it as the default search engine.
2018
*/
2119
class Save extends \Magento\Framework\App\Action\Action
2220
{

app/code/Magento/CatalogSearch/Helper/Data.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@
1010
*
1111
* @api
1212
* @since 100.0.2
13-
* @deprecated CatalogSearch will be removed in 2.4, and {@see \Magento\ElasticSearch}
14-
* will replace it as the default search engine.
1513
*/
1614
class Data extends \Magento\Search\Helper\Data
1715
{

0 commit comments

Comments
 (0)