Skip to content

Commit

Permalink
1145: Document patch hack
Browse files Browse the repository at this point in the history
  • Loading branch information
yepzdk committed Apr 10, 2024
1 parent 95ed37e commit 2e85552
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
6 changes: 3 additions & 3 deletions documentation/hoeringsportal_deskpro.hack.patch
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
diff --git a/web/modules/custom/hoeringsportal_deskpro/hoeringsportal_deskpro.module b/web/modules/custom/hoeringsportal_deskpro/hoeringsportal_deskpro.module
index d5026c3..5ce33a3 100644
index d5026c34..5ce33a38 100644
--- a/web/modules/custom/hoeringsportal_deskpro/hoeringsportal_deskpro.module
+++ b/web/modules/custom/hoeringsportal_deskpro/hoeringsportal_deskpro.module
@@ -73,6 +73,7 @@ function hoeringsportal_deskpro_theme() {
Expand All @@ -11,7 +11,7 @@ index d5026c3..5ce33a3 100644
// Department as select control.
if (isset($form['field_deskpro_department_id']['widget'][0]['value']['#type'])
diff --git a/web/modules/custom/hoeringsportal_deskpro/src/Plugin/Validation/Constraint/AgentEmailContraintValidator.php b/web/modules/custom/hoeringsportal_deskpro/src/Plugin/Validation/Constraint/AgentEmailContraintValidator.php
index 16f827f..abbdd65 100644
index a80a11fd..1c8e335b 100644
--- a/web/modules/custom/hoeringsportal_deskpro/src/Plugin/Validation/Constraint/AgentEmailContraintValidator.php
+++ b/web/modules/custom/hoeringsportal_deskpro/src/Plugin/Validation/Constraint/AgentEmailContraintValidator.php
@@ -41,6 +41,7 @@ public static function create(ContainerInterface $container) {
Expand All @@ -23,7 +23,7 @@ index 16f827f..abbdd65 100644
// validate the first item.
$item = $value->first();
diff --git a/web/modules/custom/hoeringsportal_deskpro/src/Service/DeskproService.php b/web/modules/custom/hoeringsportal_deskpro/src/Service/DeskproService.php
index e020e97..cd206df 100644
index e020e97c..cd206dfb 100644
--- a/web/modules/custom/hoeringsportal_deskpro/src/Service/DeskproService.php
+++ b/web/modules/custom/hoeringsportal_deskpro/src/Service/DeskproService.php
@@ -531,6 +531,8 @@ public function getDefaultTicketLanguage() {
Expand Down
7 changes: 7 additions & 0 deletions documentation/localDevelopment.md
Original file line number Diff line number Diff line change
Expand Up @@ -156,3 +156,10 @@ for further details.
```sh
composer install --no-dev --optimize-autoloader
```

## Deskpro local hack patch

Run
```sh
git apply < documentation/hoeringsportal_deskpro.hack.patch
```

0 comments on commit 2e85552

Please sign in to comment.