Skip to content

Commit 451fb2a

Browse files
committed
updated
1 parent 8f5a800 commit 451fb2a

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

Model/ResourceModel/Post/Indexer/Fulltext/Action/Full.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public function __construct(
4343
public function getSearchableBlogPost($storeId, $blogPostIds = null, $fromId = 0, $limit = 100)
4444
{
4545
$select = $this->getConnection()->select()
46-
->from(['p' => $this->getTable('magefan_blog_post')]);
46+
->from(['p' => $this->getTable('ves_blog_post')]);
4747

4848
$this->addIsVisibleInStoreFilter($select, $storeId);
4949

@@ -70,7 +70,7 @@ public function getSearchableBlogPost($storeId, $blogPostIds = null, $fromId = 0
7070
private function addIsVisibleInStoreFilter($select, $storeId)
7171
{
7272
$select->join(
73-
['ps' => $this->getTable('magefan_blog_post_store')],
73+
['ps' => $this->getTable('ves_blog_post_store')],
7474
"p.post_id = ps.post_id"
7575
);
7676
$select->where('ps.store_id IN (?)', [0, $storeId]);

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
## ElasticSuite Blog search for Ves Magento 2 Blog
22

33

4-
This module connecting between each other [ElasticSuite](https://github.com/Smile-SA/elasticsuite) search extension and [Ves](https://magefan.com/magento2-extensions) [Magento 2 Blog extension](https://landofcoder.com/magento-2-blog-extension.html)
4+
This module connecting between each other [ElasticSuite](https://github.com/Smile-SA/elasticsuite) search extension and [Landofcoder](https://landofcoder.com/magento/magento-2-extensions.html) [Magento 2 Blog extension](https://landofcoder.com/magento-2-blog-extension.html)
55

66
It allows to index Magento 2 Blog posts into the search engine and display them into the autocomplete results, and also on the search result page.
77

Setup/InstallSchema.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ public function install(SchemaSetupInterface $setup, ModuleContextInterface $con
2222
$setup->startSetup();
2323

2424
$connection = $setup->getConnection();
25-
$table = $setup->getTable('magefan_blog_post');
25+
$table = $setup->getTable('ves_blog_post');
2626

2727
// Append a column 'is_searchable' into the db.
2828
$connection->addColumn(

0 commit comments

Comments
 (0)