{"action":"created","issue":{"url":"https://api.github.com/repos/Smile-SA/elasticsuite/issues/1083","repository_url":"https://api.github.com/repos/Smile-SA/elasticsuite","labels_url":"https://api.github.com/repos/Smile-SA/elasticsuite/issues/1083/labels{/name}","comments_url":"https://api.github.com/repos/Smile-SA/elasticsuite/issues/1083/comments","events_url":"https://api.github.com/repos/Smile-SA/elasticsuite/issues/1083/events","html_url":"https://github.com/Smile-SA/elasticsuite/issues/1083","id":360809194,"node_id":"MDU6SXNzdWUzNjA4MDkxOTQ=","number":1083,"title":"Catalog Search in Virtual Category doesn't return any products.","user":{"login":"albertomario","id":1449583,"node_id":"MDQ6VXNlcjE0NDk1ODM=","avatar_url":"https://avatars0.githubusercontent.com/u/1449583?v=4","gravatar_id":"","url":"https://api.github.com/users/albertomario","html_url":"https://github.com/albertomario","followers_url":"https://api.github.com/users/albertomario/followers","following_url":"https://api.github.com/users/albertomario/following{/other_user}","gists_url":"https://api.github.com/users/albertomario/gists{/gist_id}","starred_url":"https://api.github.com/users/albertomario/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/albertomario/subscriptions","organizations_url":"https://api.github.com/users/albertomario/orgs","repos_url":"https://api.github.com/users/albertomario/repos","events_url":"https://api.github.com/users/albertomario/events{/privacy}","received_events_url":"https://api.github.com/users/albertomario/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-09-17T10:36:28Z","updated_at":"2018-09-17T10:37:57Z","closed_at":null,"author_association":"NONE","body":"I have a virtual category, which is working when i try to navigate throught catalog. (all products are listed based on conditions set on virtual category option), but when i try to search using default magento category search, using catalogsearch/result/?cat=172&q=bike, no results are returned.\r\nAlso i found that in elasticsearch index, magento2_default_catalog_product index, on a product listed in virtual category, the category id is not set in categories array. Tried reindex but nothing work.\r\n![image](https://user-images.githubusercontent.com/1449583/45616026-e541c480-ba76-11e8-9f03-7bb54adc5a64.png)\r\nThis product is in virtual category, but category_id for virtual category is not set.\r\n\r\n### Preconditions\r\n\r\n\r\n<!--- Please Provide detailed informations about the environment you use -->\r\n\r\n<!-- Magento Version : Are you using Magento CE or EE ? Which version of Magento are you using exactly ? -->\r\nMagento Version : CE 2.2.3\r\n\r\n<!-- ElasticSuite Version : Which exact version of ElasticSuite are you using ? -->\r\nElasticSuite Version : 2.6.0\r\n\r\n<!-- Magento Environment : are you in Developer or Production mode ? -->\r\nEnvironment : Developer\r\n\r\n### Steps to reproduce\r\n<!--- Provide a set of unambiguous steps to reproduce this bug. You can also include pieces of code if you think it's relevant  -->\r\n1.\r\n2.\r\n3.\r\n\r\n### Expected result\r\ncatalogsearch/results with category filter should return results.\r\n\r\n### Actual result\r\nNo results page is returned.\r\n"},"comment":{"url":"https://api.github.com/repos/Smile-SA/elasticsuite/issues/comments/421962159","html_url":"https://github.com/Smile-SA/elasticsuite/issues/1083#issuecomment-421962159","issue_url":"https://api.github.com/repos/Smile-SA/elasticsuite/issues/1083","id":421962159,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMTk2MjE1OQ==","user":{"login":"albertomario","id":1449583,"node_id":"MDQ6VXNlcjE0NDk1ODM=","avatar_url":"https://avatars0.githubusercontent.com/u/1449583?v=4","gravatar_id":"","url":"https://api.github.com/users/albertomario","html_url":"https://github.com/albertomario","followers_url":"https://api.github.com/users/albertomario/followers","following_url":"https://api.github.com/users/albertomario/following{/other_user}","gists_url":"https://api.github.com/users/albertomario/gists{/gist_id}","starred_url":"https://api.github.com/users/albertomario/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/albertomario/subscriptions","organizations_url":"https://api.github.com/users/albertomario/orgs","repos_url":"https://api.github.com/users/albertomario/repos","events_url":"https://api.github.com/users/albertomario/events{/privacy}","received_events_url":"https://api.github.com/users/albertomario/received_events","type":"User","site_admin":false},"created_at":"2018-09-17T10:37:57Z","updated_at":"2018-09-17T10:37:57Z","author_association":"NONE","body":"Also i found that if i set Manual Sorting on Virtual Category options for one product. This product is available for search."}}
{"actor":{"display_login":"albertomario"}}