Skip to content

Commit

Permalink
Increase web builder custom form email to size
Browse files Browse the repository at this point in the history
  • Loading branch information
NashvillePublicLibrary committed Jul 24, 2024
1 parent 0720b1c commit ecda8f9
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 @@ -88,6 +88,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 ecda8f9

Please sign in to comment.