Conversation
|
What is the problem with multidimensional arrays that this fixes? |
|
Ok, here comes example: Now try to reproduce some error in batch edit, for example delete all items. You will be redirected to URL similar to this one: In errors.log you then see warning and the problem is in Zend\Controller\Router\Route\Module.php It works fine with multiple one-dimensional queries like |
|
Ah okay, I see. So the heart of the issue is that it tries to use the router to express those params instead of just a query string (as we usually do). |
|
Yes, in one way. I found out about it, when I tried to redirect back to the selected items, which was the actual heart of this pull request:) |
There's a problem with
$this->_helper->redirector('browse', 'items', null, $params);and multidimensional$paramsarray, such as advanced search criteria, so this pull is fixing it.Besides, it redirects back to selected items, or to same search params for batchAll style of batch-edit. It's practical for direct review of performed changes. So maybe not that useful for
_batchEditAllSave()action, but definitely for standard batch edit.