how to add category wise filter
- 
					
					
					
					
 Can you please let us know in which version you are facing this issue, let me check the issue in same version as well. 
 I will help you in same.
- 
					
					
					
					
 @ashish2409 i am on version 2.0.0. 
- 
					
					
					
					
 @ashish2409 this is my network when i filter on the item:  and this is in my database the value:  so the product_id is the 280 and the 44 is the attribute id of the "testfilter" attribute. 
- 
					
					
					
					
 Ok Thanks for sharing the screenshot, we will be checking the same in our localhost in master code and will update you ASAP. 
- 
					
					
					
					
 @ashish2409 thank you very much! im waiting for your repsonse   
- 
					
					
					
					
 Hello There as I have checked the same in the master and lateset version of bagisto and there I was able to see that it is working fine. For an ease I have created a video for your reference. 
 I believe that this will help in resolving you concern.Please follow the link -> https://jam.dev/c/4f6fa2cf-a2e8-4bef-b449-9d6a7be63dc8 
- 
					
					
					
					
 @ashish2409 Very weird I have the same settings as you, i have made a video. i am on version 2.0.0, are you too? i have made a video of my settings: innovatiemedia.nl/video-trrc.mov is it maybe possible to call you? 
- 
					
					
					
					
 No I am using latest version V2.1.2 and master version. 
- 
					
					
					
					
 @ashish2409 are there differences in the filter or categoryattribute or other relevant files between 2.0.0 and 2.1.2? 
- 
					
					
					
					
 I am looking for the same case in V2.0.0 then only I can assist you better. Please allow me some time. 
- 
					
					
					
					
 @ashish2409 Ok thank you very much, if it is easier maybe we can do a phone call or something 
- 
					
					
					
					
 "Hello there, 
 you can raise a ticket and share all the details so that we can assist you better.Ticket Link -> https://webkul.uvdesk.com/en/customer/create-ticket/" 
- 
					
					
					
					
 I fixed the issue, i found it. In v2.0.0 in ProductRepository.php in the searchFromDatabase function there is an added line: $qb->havingRaw('COUNT(*) = ' . count($attributes));If you remove this line everything works fine again. 
- 
					
					
					
					
 @moncherry29 said in how to add category wise filter: $qb->havingRaw('COUNT(*) = ' . count($attributes)); Hello there, You can check V2.1.2 , there are many changes and its the stable version you can check the details here as well. I would suggest to go and check here as well. Thanks. 
- 
					
					
					
					
 This post is deleted!
