forked from Aspen-Discovery/aspen-discovery
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- When loading phone numbers, load the primary phone number from the phone number with a type of p. - When loading phone numbers, load the "work" phone number from the phone number with a type of t. - Update phone numbers appropriately based on primary and work phone numbers in Contact Information. - When using the "Pickup at" setting within the Format Map, properly load available locations when the location code is not the entire location code of the item. - Allow work phone to be updated independently of the main phone number.
- Loading branch information
Showing
7 changed files
with
111 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<?php | ||
|
||
function getUpdates24_05_10(): array { | ||
return [ | ||
/*'name' => [ | ||
'title' => '', | ||
'description' => '', | ||
'continueOnError' => false, | ||
'sql' => [ | ||
'' | ||
] | ||
], //name*/ | ||
|
||
'library_add_can_update_work_phone_number' => [ | ||
'title' => 'Library Add Can Update Work Phone Number', | ||
'description' => 'Allow control over if a library can update their work phone number', | ||
'continueOnError' => true, | ||
'sql' => [ | ||
"ALTER TABLE library ADD allowPatronWorkPhoneNumberUpdates TINYINT(1) DEFAULT 1", | ||
"UPDATE library set allowPatronWorkPhoneNumberUpdates = showWorkPhoneInProfile", | ||
], | ||
], | ||
]; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters