I have extended ProductImpl to create my CustomProductImpl with some new fields/attributes. One of the field added to my CustomProduct table is - workflow_status( using Broadleaf Workflow).
My SearchController extends BroaleafSearchController that uses SolrSearchServiceImpl for catalog search. By default it is searching all the items from Product. However, my requirement is to pull only the published items(in extended CustomProduct) table.
How can I inject my condition/searchcriteria into Solr search query (e.g. ...where workflow_status='PUBLISHED') to pull only the published item.?
Thanks in advance.!!
This forum is in readonly mode and serves as an archive of old information. All posting, registration and commenting abilities have been turned off. To get help, the Broadleaf team reguarly monitors the broadleaf-commerce tag on Stack Overflow so please ask your questions there.