Help delete_group button

ie ieraora 19 Jan, 2020
I created button for delete rows from Table View but it don't work. I think to have to add a Delete condition, but I don't know what insert.
I saw all demos but there isn't a example.
This is my configuration.
​
Views > Toolbar Button > Name: delete_selected_button > Event: delete_selected
Event delete selected > {fn:delete_orders_group} {success:articles deleted} {redirect:index}
Functions > Delete Data > Name: delete_orders_group > Delete conditions \ > Protect against full deletion checked
he healyhatman 20 Jan, 2020
There is a demo, dynamic actions should include a delete button.
​
Make sure you're giving it an ID to delete
ie ieraora 20 Jan, 2020
delete button in demo is only for a row, I need for SELECTED articles, I tried to insert this condition - id/in:{data:gcb} (similar to publish_group function), but not work.
he healyhatman 20 Jan, 2020
Is your select box called gcb? What does debug show?
ie ieraora 20 Jan, 2020
Sorry, If I insert id/in:{data:gcb} in conditions? I've error: 1054Unknown column 'id' in 'where clause'
ie ieraora 20 Jan, 2020
Ops 🙂. Now go. My ID column is o_order_id, therefore I've change in o_order_id/in:{data:gcb}
​
RESOLVED. THANK YOU.
This topic is locked and no more replies can be posted.