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

Archiving doesn't trigger default Eloquent events #25

Open
Kaylakaze opened this issue May 22, 2024 · 1 comment
Open

Archiving doesn't trigger default Eloquent events #25

Kaylakaze opened this issue May 22, 2024 · 1 comment

Comments

@Kaylakaze
Copy link
Contributor

This seems to be because you're using $query->update($columns) instead of $this->update($columns). Why is your runArchive method so... weird when your unArchive method looks as expected?

@Kaylakaze
Copy link
Contributor Author

I've rewritten the archive method in my code to make it like the unArchive method in structure, but since I don't understand why you handled the archive and runArchive methods the way that you did, I don't know if I'm missing something.

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

No branches or pull requests

1 participant