Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add sort Event as possible Trigger for Webhooks #11756

Closed
3 tasks done
schlagmichdoch opened this issue Feb 20, 2022 · 1 comment
Closed
3 tasks done

Add sort Event as possible Trigger for Webhooks #11756

schlagmichdoch opened this issue Feb 20, 2022 · 1 comment

Comments

@schlagmichdoch
Copy link
Contributor

schlagmichdoch commented Feb 20, 2022

Preflight Checklist

Describe the Bug

When manually sorting items a webhook that is otherwise working fine is not triggered.
Also, the items date_updated column is not updated.

Expected behaviour:
Webhooks set as triggered by "update"-events are triggered by manually sorting items.
date_updated column is updated.

I followed the discussions #10888 and #11622 and think it would be great if a webhook could listen to that event.

To Reproduce

  1. Create collection with system fields sort and updated on activated
  2. Add webhook that is triggered by update on test collection. (Use https://webhook.site/ and copy url)
  3. Add at least two items to test collection
  4. Change one item manually --> webhook is triggered, date_updated column is updated
  5. Manually sort items --> webhook is not triggered, date_updated column is not updated.

Errors Shown

none

What version of Directus are you using?

9.6.0

What version of Node.js are you using?

16.14.0

What database are you using?

MySQL Community Server 8.0.27

What browser are you using?

Firefox

What operating system are you using?

Debian GNU/Linux 10 (buster)

How are you deploying Directus?

locally (pm2)

@schlagmichdoch

This comment was marked as outdated.

@schlagmichdoch schlagmichdoch changed the title Webhook is not triggered when manually sorting items Add sort Event as possible Trigger for Webhooks Mar 7, 2022
@schlagmichdoch schlagmichdoch reopened this Mar 7, 2022
@rijkvanzanten rijkvanzanten closed this as not planned Won't fix, can't repro, duplicate, stale May 25, 2022
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 2, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants