Answer the question
In order to leave comments, you need to log in
How to change GET format in symfony query?
Good afternoon.
I'm making a search form on the site. GET requests are relevant. After sumbit in the url line I see
app_dev.php/catalog/1?MyBundleItemFilter%5Bmaker%5D=1&MyBundleItemFilter%5BmainCategory%5D=&MyBundleItemFilter%5Bsearch%5D=
MyBundleItemFilter%5Bmaker%5D
and remove extra fields like search?. ->add(
'maker',
'entity',
array(
'class' => 'MyBundle:MyBundleItemMaker',
'property' => 'name',
'required' => false,
'data' => null,
'empty_value' => '-- Все --',
)
)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question