Problem/Motivation
In commerce order list page, Quick Edit button shows Ajax error.
Steps to reproduce
1 - Navigate to admin/commerce/orders page.
2 - Make sure the views has exposed filters Ex. Filter by Status and date range.
3 - Select the start date and end date to filter the orders.
4 - Click on Quick Edit button shows Ajax error.
Proposed resolution
In render function of commerce_backoffice_order_handler_field_order_operations it is mentioned to use drupal_get_destination() and Quick Edit destination param not in proper format causing such error.
Ex . date_filter[min][date]=03/01/2020 converted to date_filter%5Bmin%5D%5Bdate%5D%3D03/01/2020 during views filter and Quick Edit link shows as date_filter%255Bmin%255D%255Bdate%255D%3D03/01/2020
Remaining tasks
Patch to create.
User interface changes
NA
API changes
NA
Data model changes
Comment | File | Size | Author |
---|---|---|---|
#2 | quick-edit-3205712-1.patch | 1.73 KB | sidharthap |
Comments
Comment #2
sidharthapThis patch is working.