You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Recently I got requirement to have search functionality in our custom module entity. So, I suggest if we can implement search form functionality then it would be great.
Module can have separate search form OR some great opportunity to manipulate main search to look in our module tables. ( just like in admin global search )
Can we implement it ?
Thanks
The text was updated successfully, but these errors were encountered:
@mukundthanki Including the search of your custom entities into the main website search is kind of impossible on the ways magento is built right now. A lot has to be modified. And that is not in the scope of this extension.
But you can implement you own search just for the custom entities.
Right now the module creator does not support this. You will need to do it yourself.
I see 2 options here.
Create a form (with a controller and action associated to it) and just do a simple LIKE serach on the fields you want in your custom entity.
Create a new table that supports fulltext search and an index that will populate that table based on the entities you have. Then use that table, in a similar way as the magento product search is made. This second option requires more work but seams better.
This is a good Idea. I will investigate what needs to be done to include one of the methods above directly in the module creator.
Hi Marius,
Recently I got requirement to have search functionality in our custom module entity. So, I suggest if we can implement search form functionality then it would be great.
Module can have separate search form OR some great opportunity to manipulate main search to look in our module tables. ( just like in admin global search )
Can we implement it ?
Thanks
The text was updated successfully, but these errors were encountered: