-
Notifications
You must be signed in to change notification settings - Fork 91
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
ETQ instructeur, je peux inclure les dossiers "archivés" quand je télécharge les dossiers de l'onglet "Au total" #11113
base: main
Are you sure you want to change the base?
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #11113 +/- ##
==========================================
- Coverage 84.44% 84.43% -0.02%
==========================================
Files 1182 1182
Lines 26112 26130 +18
Branches 4923 4932 +9
==========================================
+ Hits 22050 22062 +12
- Misses 4062 4068 +6 ☔ View full report in Codecov by Sentry. |
140985d
to
1444628
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ya un soucis sur le schema.rb sinon ça me semble OK
@@ -29,6 +30,18 @@ def allowed_format?(item) | |||
item.fetch(:format) != :json || @procedure.active_revision.carte? | |||
end | |||
|
|||
def can_include_archived? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
je me demande si cette méthode ne devrait pas aussi embarquer la logique de && @archived_count > 1
pour que les views n'ont pas à s'en occuper
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oui je suis d'accord. je fais la modif
db/schema.rb
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
y a pas mal de changes qui n'ont rien à voir avec cette pr ;)
@colinux c'est reglé, merci pour ta review |
Fixes #11103