Zeljko
Zeljko

Reputation: 5158

sonata admin bundle: nested set

I have entity Location that is nested-set and it will have about 6 million records. Entity Property is many to one with Location.

Unfortunatelly, sonata doesn't suport nested set. So instead of having with 6mill options, is there a way I could implement auto-completion for that field?

Upvotes: 1

Views: 2247

Answers (1)

Thomas
Thomas

Reputation: 222

As far as I know, the nested set behaviour is possible in Sonata through 3pp4rd / DoctrineExtensions (see Tree extension) and the Autocomplete feature in Sonata is delivered with this genemu / GenemuFormBundle bundle which integrates the jQuery autocompleter. Both bundles will guide you on how to implement it.

Upvotes: 1

Related Questions