Invertus / elasticsearch

Elasticsearch® module for PrestaShop that makes search and filter significantly faster.
47 stars 21 forks source link

MultiShop take last id_shop PrestashopCollection #9

Open ghost opened 7 years ago

ghost commented 7 years ago

I use multishop.

When i indexing all product or missing product a PrestashopCollection is call and the language of last id_shop is take.

https://github.com/Invertus/brad/blob/v2/src/Service/Indexer.php#L172

I fix this with :

$products->sqlWhere('a1.id_shop = '.$idShop);

But i don't know if it's the best way.

Sorry for my English

ghost commented 7 years ago

@sarjon Bump :+1:

sarjon commented 7 years ago

hi @okom3pom, thanks for your contribution, we really appreciate it. However, i'm sorry for late response, we have been very busy lately and since Brad is our free time project i didn't have much time to see what's going on with it. I'll take a look at your pull requests asap. Thanks again for your contribution!

ghost commented 6 years ago

@sarjon If it looks good I can do the PR

sarjon commented 6 years ago

@okom3pom, that would be helpful!