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

[#44119] Move External #13

Merged
merged 3 commits into from
Oct 19, 2021
Merged

[#44119] Move External #13

merged 3 commits into from
Oct 19, 2021

Conversation

agger-magenta
Copy link
Contributor

Adds a formAlter function on the employee webform handler which populates the options for the consultant's "old organization unit".

@agger-magenta agger-magenta changed the title Logic to show list of current OUs for external. [#44119] Move External Oct 18, 2021
}
}
}
$form["elements"]["move_external"]["old_organizational_unit"]["#options"] = $org_unit_options;
Copy link
Contributor

Choose a reason for hiding this comment

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

Vi kommer til at blande double og single quotes lidt. Jeg tror nok Drupalstandarden siger single quotes med mindre man laver variable substitution. Det er dog ikke en bakke jeg vil dø på, blot en observation.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@agger-magenta agger-magenta requested a review from nina-j October 19, 2021 10:15
Copy link
Contributor

@nina-j nina-j left a comment

Choose a reason for hiding this comment

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

Ser rigtig godt ud, fedt med hjælpefunktioner og ensretning af quotes.

@agger-magenta agger-magenta merged commit c73b332 into main Oct 19, 2021
@agger-magenta agger-magenta deleted the 44119_move_external branch October 19, 2021 11:10
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