Hi Simon, Thank you for your reply. I know it's been more than a month and I found a way around that with a custom page. But now you just opened a whole new way of creativity for me as I never thought of using datagrid filters that way and it might actually come in handy with some stuff I'm supposed to do. I have one question though, about the second method : How would I go about to recreate a functionality that depends on a parameter with a second admin service? Would I just do my createQuery function normally and then pass the query string as a parameter?
Thank you again for opening my mind. On Monday, 18 July 2016 04:16:15 UTC+3, Simon Ball wrote: > > Hi Sorin, > > This situation could be resolved by using your action to apply a filter to > the list in order to get a subset of results, no need to have an action > within action. Rather conveniently, filtering is handled in the URI so: > > - Build a Datagrid filter that will perform your > findSimilarFingerprintAction > - With the filter in place, look at how it changes the URI when used > - In your list action, redirect the user to the URI for above > > If this isn't enough, the next step would be to have a second admin which > extends your current admin which implements the equivalent of > findSimilarFingerprintAction > in the createQuery function. > > I believe you would be able to do the whole thing with first approach > mentioned though. > -- You received this message because you are subscribed to the Google Groups "sonata-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/sonata-users. For more options, visit https://groups.google.com/d/optout.
