ssossossosso

Forums

Covering OroCRM topics, including community updates and company announcements.  Subscribe

This topic contains 1 reply, has 2 voices, and was last updated by  Alexandr Smaga 3 years ago.

  • Creator
    Topic
  • #6731
    infocurci
    infocurci
    Participant

    I need to duplicate the search engine of ORO (placed on the top bar) on my bundle, limited to one specific entity.
    I read query_builder.md (on OroBundle / SearchBundle / Resources /doc), and I found an interesting PHP code:

    it can be usefully for my needs?
    How I create the auto-complete form, like Oro’s search engine?
    Thanks!

Viewing 1 replies (of 1 total)
  • Author
    Replies
  • #6740

    Alexandr Smaga
    Participant

    Hello @infocurci!

    Is it really required to create new search engine for your case ? Could you please take a look to form that based on select2 with autocomplete(this one) it uses this controller for autocomplete, so, at least you can try to reuse controller.

    In order to make your entity available for search you need to create configuration file(see).

    If your really have some specific case you can take a look to our custom autocomplete handler there.

    Hope this will be helpful for you!

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.