Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
emc2
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
open-source
emc2
Commits
e93f4a54
Commit
e93f4a54
authored
2 years ago
by
Jean-Philippe Metivier
Browse files
Options
Downloads
Patches
Plain Diff
[FIX] Élargissement de la recherche des agents pour l'inscription manuelle à une formation.
parent
925a01bd
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
documentation/release/3.0.2.md
+14
-0
14 additions, 0 deletions
documentation/release/3.0.2.md
module/Formation/src/Formation/Controller/FormationInstanceInscritController.php
+4
-0
4 additions, 0 deletions
...rmation/Controller/FormationInstanceInscritController.php
with
18 additions
and
0 deletions
documentation/release/3.0.2.md
0 → 100644
+
14
−
0
View file @
e93f4a54
**CHANGES version 3.0.2**
_Changements_
*
[FIX] Élargissement de la recherche des agents pour l'inscription manuelle à une formation.
_Modifications de la base de donnée_
```
sql
`
``
_Évolution des bibliothèques_
```
\ No newline at end of file
This diff is collapsed.
Click to expand it.
module/Formation/src/Formation/Controller/FormationInstanceInscritController.php
+
4
−
0
View file @
e93f4a54
...
...
@@ -71,6 +71,10 @@ class FormationInstanceInscritController extends AbstractActionController
$form
->
setAttribute
(
'action'
,
$this
->
url
()
->
fromRoute
(
'formation-instance/ajouter-agent'
,
[
'formulaire-instance'
=>
$instance
->
getId
()],
[],
true
));
$form
->
bind
(
$inscrit
);
/** Elargissement de la recherche pour les agents sans affectations ... **/
$urlLarge
=
$this
->
url
()
->
fromRoute
(
'agent/rechercher-large'
,
[],
[],
true
);
$form
->
get
(
'agent'
)
->
setAutocompleteSource
(
$urlLarge
);
$request
=
$this
->
getRequest
();
if
(
$request
->
isPost
())
{
$data
=
$request
->
getPost
();
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment