Skip to content

Commit

Permalink
Merge pull request Aspen-Discovery#1926 from Nashville-Public-Library…
Browse files Browse the repository at this point in the history
…/24.08.00-WebBuilderCustomForm

Increase web builder custom form email-to size
  • Loading branch information
mdnoble73 authored Jul 26, 2024
2 parents 2f7a8b5 + ecda8f9 commit 4925c7b
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 1 deletion.
3 changes: 3 additions & 0 deletions code/web/release_notes/24.08.00.MD
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,9 @@ To generate the passkey file, the following command should be run (as root):
### Reports
- Nashville-specific: Circulation Holds Report now includes item-level holds (*JStaub*)

### Web Builder
- Increase the Custom Form email recipient character limit. (Ticket 132417) (*JStaub*)

### Other Updates
- Bad Words: stop using cache for bad words. (Ticket 134567) (*JStaub*)

Expand Down
10 changes: 10 additions & 0 deletions code/web/sys/DBMaintenance/version_updates/24.08.00.php
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,16 @@ function getUpdates24_08_00(): array {

//pedro - PTFS-Europe

//James Staub - Nashville Public Library
'web_builder_custom_form_increase_email' => [
'title' => 'Increase Web Builder Custom Form "Email Results To" field character limit.',
'description' => 'Increase Web Builder Custom Form "Email Results To" field character limit.',
'continueOnError' => true,
'sql' => [
"ALTER TABLE web_builder_custom_form MODIFY COLUMN emailResultsTo VARCHAR(150)",
]
], //web_builder_custom_form_increase_email

//other

];
Expand Down
2 changes: 1 addition & 1 deletion code/web/sys/WebBuilder/CustomForm.php
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ static function getObjectStructure($context = ''): array {
'label' => 'Email Results To (separate multiple addresses with semi-colons)',
'description' => 'An email address to send submission results to',
'size' => '40',
'maxLength' => 100,
'maxLength' => 150,
],
'includeIntroductoryTextInEmail' => [
'property' => 'includeIntroductoryTextInEmail',
Expand Down

0 comments on commit 4925c7b

Please sign in to comment.