Skip to content

Commit 3c77057

Browse files
authored
Merge pull request #3053 from magento-tango/PR-2008
[tango] MAGETWO-91063: "Search Synonyms" disappear from backend menu when search engine set to Elasticsearch 5
2 parents 369b5ce + d0667dd commit 3c77057

File tree

8 files changed

+26
-141
lines changed

8 files changed

+26
-141
lines changed

app/code/Magento/Search/Model/SearchEngine/MenuBuilder.php

Lines changed: 0 additions & 70 deletions
This file was deleted.

app/code/Magento/Search/Test/Unit/Model/SearchEngine/MenuBuilderTest.php

Lines changed: 0 additions & 63 deletions
This file was deleted.

app/code/Magento/Search/etc/di.xml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,4 @@
8282
<argument name="dataStorage" xsi:type="object">Magento\Search\Model\SearchEngine\Config\Data</argument>
8383
</arguments>
8484
</type>
85-
<type name="Magento\Backend\Model\Menu\Builder">
86-
<plugin name="SearchTermMenuBuilder" type="Magento\Search\Model\SearchEngine\MenuBuilder" />
87-
</type>
8885
</config>

app/code/Magento/Wishlist/view/frontend/templates/cart/item/renderer/actions/move_to_wishlist.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<?php if ($block->isAllowInCart() && $block->isProductVisibleInSiteVisibility()): ?>
1212
<a href="#"
1313
data-post='<?= /* @noEscape */ $block->getMoveFromCartParams() ?>'
14-
class="use-ajax action action-towishlist">
14+
class="use-ajax action towishlist action-towishlist">
1515
<span><?= $block->escapeHtml(__('Move to Wishlist')) ?></span>
1616
</a>
1717
<?php endif ?>

app/design/frontend/Magento/luma/Magento_GiftMessage/web/css/source/_module.less

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,8 @@
6060
}
6161

6262
.gift-summary {
63-
position: relative;
6463
margin-top: @indent__s;
64+
position: relative;
6565

6666
.actions-toolbar {
6767
> .secondary {
@@ -328,7 +328,7 @@
328328
}
329329

330330
.gift-options-cart-item {
331-
& + .action-towishlist {
331+
& + .towishlist {
332332
left: 43px;
333333
position: absolute;
334334
}

app/design/frontend/Magento/luma/Magento_MultipleWishlist/web/css/source/_module.less

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,17 @@
4040
.items {
4141
padding: 6px 0;
4242
text-align: left;
43+
> .item {
44+
span {
45+
display: block;
46+
}
47+
48+
&:last-child {
49+
span {
50+
display: inline;
51+
}
52+
}
53+
}
4354
}
4455

4556
> .action {
@@ -378,6 +389,16 @@
378389
.lib-css(background, @collapsible-nav-item-hover);
379390
}
380391
}
392+
393+
span {
394+
display: block;
395+
}
396+
397+
&:last-child {
398+
span {
399+
display: inline;
400+
}
401+
}
381402
}
382403
}
383404
}

app/design/frontend/Magento/luma/Magento_Wishlist/web/css/source/_module.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@
267267
}
268268

269269
.cart.table-wrapper {
270-
.action-towishlist {
270+
.towishlist {
271271
.lib-icon-font(
272272
@icon-wishlist-full,
273273
@_icon-font-size: 18px,

dev/tests/functional/tests/app/Magento/Checkout/Test/Block/Cart/CartItem.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ class CartItem extends AbstractCartItem
4040
*
4141
* @var string
4242
*/
43-
protected $wishlistButton = '.action-towishlist';
43+
protected $wishlistButton = '.towishlist';
4444

4545
/**
4646
* Quantity input selector

0 commit comments

Comments
 (0)