Skip to content

MSI-325: implemented fulltext search for Manage Stocks grid#336

Closed
stansm wants to merge 2 commits into
2.3-developfrom
MSI-325_partial_search_by_name_in_manage_stock
Closed

MSI-325: implemented fulltext search for Manage Stocks grid#336
stansm wants to merge 2 commits into
2.3-developfrom
MSI-325_partial_search_by_name_in_manage_stock

Conversation

@stansm
Copy link
Copy Markdown
Contributor

@stansm stansm commented Dec 22, 2017

Implemented full text search for Manage Stocks grid

Description

Please review the approach used in this PR and if it's OK I'll also commit changes for #326 in this branch.

Fixed Issues (if relevant)

  1. Search by keyword by part of the name of Stock doesn't work in Manage Stocks grid #325: Search by keyword by part of the name of Stock doesn't work in Manage Stocks grid

Manual testing scenarios

See linked issue(s)

Contribution checklist

  • Pull request has a meaningful description of its purpose
  • All commits are accompanied by meaningful commit messages
  • All new or changed code is covered with unit/integration tests (if applicable)
  • All automated tests passed successfully (all builds on Travis CI are green)

@stansm stansm self-assigned this Dec 22, 2017
@stansm stansm force-pushed the MSI-325_partial_search_by_name_in_manage_stock branch from 3685230 to d773c04 Compare December 22, 2017 08:01
@vrann vrann added the Bug label Feb 23, 2018
@naydav naydav changed the base branch from develop to 2.3-develop March 22, 2018 13:34
@larsroettig larsroettig added this to the MSI Part I milestone Mar 24, 2018
{
$indexes = $collection->getConnection()->getIndexList($indexTable);
foreach ($indexes as $index) {
if (strtoupper($index['INDEX_TYPE']) === 'FULLTEXT') {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a minor thing, I believe that using \Magento\Framework\DB\Adapter\AdapterInterface::INDEX_TYPE_FULLTEXT for comparison instead of the hardcoded value is a good idea.

@stansm stansm force-pushed the MSI-325_partial_search_by_name_in_manage_stock branch from 1cf0e05 to 79d1cd5 Compare April 2, 2018 20:53
@stansm stansm force-pushed the MSI-325_partial_search_by_name_in_manage_stock branch from 79d1cd5 to 31732d7 Compare April 3, 2018 06:55
@stansm
Copy link
Copy Markdown
Contributor Author

stansm commented Apr 3, 2018

@rogyar I've fixed this + resolved conflicts and moved fulltext index declaration into db_schema.xml

@naydav
Copy link
Copy Markdown

naydav commented Jun 14, 2018

Closed due to #1285

@naydav naydav closed this Jun 14, 2018
@ishakhsuvarov ishakhsuvarov deleted the MSI-325_partial_search_by_name_in_manage_stock branch August 22, 2019 15:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants