We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2add74a commit d8ba0b1Copy full SHA for d8ba0b1
src/Model/ResourceModel/Tag.php
@@ -22,11 +22,10 @@ public function getMaxTagId(int $limit):array
22
$connection = $this->getConnection();
23
24
$subSetSelect = $connection->select()->from(
25
- self::TABLE_NAME,
+ $this->getTable(self::TABLE_NAME),
26
['entity_id','tag']
27
)->order(
28
- 'entity_id',
29
- 'ASC'
+ 'entity_id ASC'
30
)->limit(
31
$limit
32
);
@@ -44,7 +43,7 @@ public function getUniqueTagsByMaxId(int $maxId):array
44
43
45
46
$select = $connection->select()->from(
47
- ['main_table' => self::TABLE_NAME],
+ ['main_table' => $this->getTable(self::TABLE_NAME)],
48
['tag']
49
)->group(
50
'tag'
0 commit comments