hypothesis / h

Annotate with anyone, anywhere.
https://hypothes.is/
BSD 2-Clause "Simplified" License
2.91k stars 425 forks source link

Switch to a query builder approach for the annotation counts #8756

Closed marcospri closed 3 weeks ago

marcospri commented 3 weeks ago

This allows to reuse the same code for multiple cases.

Introduce the h_userids filter which with the new approach is available in all queries.

Testing

See: https://github.com/hypothesis/lms/pull/6361