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

Not an issue, only question / Badge qualifiers... #19

Closed
snipiba opened this issue Nov 24, 2019 · 1 comment
Closed

Not an issue, only question / Badge qualifiers... #19

snipiba opened this issue Nov 24, 2019 · 1 comment

Comments

@snipiba
Copy link

snipiba commented Nov 24, 2019

Is there a way how to set qualifiers based on sum of specific points?
For example, qualifier as "Best author" based on Sum of published posts only?
Because qualifier based on sum of all points is not relevant in this case, right?

@snipiba
Copy link
Author

snipiba commented Nov 24, 2019

Probably found solution....
return $user->reputations->where('name','PostCreated')->sum('point') > 10;

@snipiba snipiba closed this as completed Nov 24, 2019
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