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

feat: home discussions user filter enhancements #3222

Draft
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

20cents
Copy link

@20cents 20cents commented Oct 9, 2024

Close issue #3194

il a participé à la discussion concernée

TReport.id_synthese.in_(
    select(TReport.id_synthese).where(TReport.id_role == g.current_user.id_role)
),
# S'il poste un message sur une obs, il verra alors tous les messages concernant cette cette obs

il a saisi l'observation qui est commentée ce filtre sera basé sur le champs id_digitizer

TReport.synthese.has(Synthese.id_digitiser == g.current_user.id_role),

il fait partie des observateurs ce filtre sera basé sur le champs cor_observer_synthese

TReport.synthese.has(Synthese.cor_observers.any(User.id_role == g.current_user.id_role))

@20cents 20cents force-pushed the feat/home-discussions-user-filter-enhancements branch 2 times, most recently from 906e9d8 to 0347a46 Compare October 10, 2024 12:13
@20cents 20cents force-pushed the feat/home-discussions-user-filter-enhancements branch from 0347a46 to 008aa06 Compare October 10, 2024 12:21
Copy link

codecov bot commented Oct 10, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 81.93%. Comparing base (0a6c1de) to head (008aa06).
Report is 5 commits behind head on develop.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #3222      +/-   ##
===========================================
- Coverage    81.94%   81.93%   -0.01%     
===========================================
  Files           86       86              
  Lines         6962     6960       -2     
===========================================
- Hits          5705     5703       -2     
  Misses        1257     1257              
Flag Coverage Δ
pytest 81.93% <100.00%> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

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

Successfully merging this pull request may close these issues.

1 participant