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

Move dossier field service to procedure presentation #2770

Conversation

fredZen
Copy link
Contributor

@fredZen fredZen commented Oct 5, 2018

Fixes #2750

Le but haut niveau est de n‘utiliser que des données issues de self comme noms de colonnes et comme order by. Comme ça, on peut être confiant qu’elles ont passé la validation de données, et donc qu‘elles ne vont pas taper dans des colonnes qu’on n‘avait pas prévues.

@fredZen fredZen requested a review from gregoirenovel October 5, 2018 14:15
@fredZen fredZen force-pushed the frederic/fix_2750-move_dossier_field_service_to_procedure_presentation branch 2 times, most recently from 44b6eac to cc955a8 Compare October 5, 2018 16:35
end
end

def filtered_ids(dossiers, statut)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Je ne comprends pas trop statut, j'ai du mal à voir à quoi ça se rapporte

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ce nom vient de là 801318b#diff-4d6ff7ee42566087f0d1aea8f4e4ec18R139

Je me suis retrouvé client du code ci-dessous quand j’ai écrit ça : 865988c#diff-4d6ff7ee42566087f0d1aea8f4e4ec18R76

Je n’ai pas trouvé le nom clair non plus (en général, state, status et leurs équivalents français sont des alertes qu‘un nom de variable est probablement trop générique).

Mais clarifier le nommage du statut n’a rien à voir avec cette PR => ailleurs ?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, ok pour une autre PR (d'ailleurs ça doit venir de moi ce "statut...)

app/models/procedure_presentation.rb Show resolved Hide resolved
app/controllers/new_gestionnaire/procedures_controller.rb Outdated Show resolved Hide resolved
app/models/procedure_presentation.rb Outdated Show resolved Hide resolved
@fredZen fredZen force-pushed the frederic/fix_2750-move_dossier_field_service_to_procedure_presentation branch from cc955a8 to 0ce9c8a Compare October 10, 2018 04:19
@fredZen
Copy link
Contributor Author

fredZen commented Oct 10, 2018

Up, possible d‘avancer sur cette PR ? #1961 est bloquée derrière, et j‘aimerais bien travailler dessus, Camille me dit qu‘elle est attendue avec impatience.

@fredZen fredZen force-pushed the frederic/fix_2750-move_dossier_field_service_to_procedure_presentation branch from 0ce9c8a to 9086f99 Compare October 10, 2018 07:08
@fredZen fredZen merged commit 4bf209a into dev Oct 10, 2018
@fredZen fredZen deleted the frederic/fix_2750-move_dossier_field_service_to_procedure_presentation branch October 10, 2018 07:14
@fredZen fredZen mentioned this pull request Oct 10, 2018
fredZen added a commit that referenced this pull request Oct 11, 2018
Should have been removed as part of #2720 but was accidentally reintroduced
in #2770
@fredZen fredZen mentioned this pull request Oct 11, 2018
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.

2 participants