Skip to content

Fix middleware checking for accepted terms

Mario Oenning requested to merge moson/aurweb:fix-terms-and-middleware into master
Fix "accepted terms" logic

The current query is a bit mixed up. The intention was to return the number of unaccepted records.
Now it does also count all records that were accepted by some other user though. 🤔

Let's check the total number of terms vs. the number of accepted records (by our user) instead.

ToDo:

  • Review test cases for "accepted terms".
Edited by Mario Oenning

Merge request reports

Loading