Skip to content
This repository has been archived by the owner on Jun 14, 2024. It is now read-only.

Smart Action does not receive records from Smart View #178

Open
lesley-hays opened this issue Nov 3, 2018 · 0 comments
Open

Smart Action does not receive records from Smart View #178

lesley-hays opened this issue Nov 3, 2018 · 0 comments

Comments

@lesley-hays
Copy link

I'm triggering a Smart Action on a Smart View with a button, as per the docs. But the records don't appear to be sent to the action route.

Button looks like
<button {{action 'triggerSmartAction' collection 'Do The Action' records}}> Do It </button>

Expected behavior

Logging req.body.data in the Smart Action route should show me the record IDs used in the Smart View.

Actual behavior

Returns a mostly empty object: { attributes: { ids: [], values: {}, collection_name: 'images' }, type: 'custom-action-requests' }

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants