Skip to content

Commit 9d90b73

Browse files
committed
updated files
1 parent 6a2248c commit 9d90b73

File tree

15 files changed

+36
-31
lines changed

15 files changed

+36
-31
lines changed

Api/Data/TagProductLinkInterface.php

100644100755
File mode changed.

Block/Adminhtml/Tags/Edit/DeleteButton.php

100644100755
File mode changed.

Controller/Adminhtml/Tag/Delete.php

100644100755
File mode changed.

Controller/Adminhtml/Tag/MassDelete.php

100644100755
File mode changed.

Controller/Adminhtml/Tag/Save.php

100644100755
File mode changed.

Controller/Router.php

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,17 @@ public function __construct(
2727
}
2828
public function match(\Magento\Framework\App\RequestInterface $request)
2929
{
30+
die("Awetae");
3031
if (!$this->dispatched) {
32+
3133
$identifier = trim($request->getPathInfo(), '/');
3234
$origUrlKey = $identifier;
3335
$condition = new DataObject(['url_key' => $identifier, 'continue' => true]);
3436
$this->eventManager->dispatch(
3537
'lof_producttags_controller_router_match_before',
3638
['router' => $this, 'condition' => $condition]
3739
);
40+
3841
$urlKey = $condition->getUrlKey();
3942
if ($condition->getRedirectUrl()) {
4043
$this->response->setRedirect($condition->getRedirectUrl());
@@ -74,6 +77,12 @@ public function match(\Magento\Framework\App\RequestInterface $request)
7477

7578
}
7679
}
80+
$request->setDispatched(true);
81+
$this->dispatched = true;
82+
return $this->actionFactory->create(
83+
'Magento\Framework\App\Action\Forward',
84+
['request' => $request]
85+
);
7786
}
7887
}
7988
}

Model/Data/TagProductLink.php

100644100755
File mode changed.

Model/ResourceModel/AbstractCollection.php

100644100755
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ public function __construct(
5959
protected function performAfterLoad($tableName, $linkField)
6060
{
6161
$linkedIds = $this->getColumnValues($linkField);
62+
6263
if (count($linkedIds)) {
6364
$connection = $this->getConnection();
6465
$select = $connection->select()->from(['product_tag_store' => $this->getTable($tableName)])

Model/ResourceModel/Tag/Grid/Collection.php

100644100755
File mode changed.

Samples/Lof_product_tags_sample.json

100644100755
Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)