Give EMS'es default values for Schedule Locations per Page. Fixes #10868.
This commit is contained in:
parent
128d2b0014
commit
22ea557532
2 changed files with 13 additions and 0 deletions
|
|
@ -1,4 +1,5 @@
|
|||
7.7.19
|
||||
- fixed #10868: EMS Schedule screen won't display
|
||||
- fixed #10857: Wrong entry i18n: Asset_TimeTracking.pm
|
||||
- fixed #10839: Ad Sales: Uploaded Images Disappear
|
||||
- fixed #10851: Search Template Pagination
|
||||
|
|
|
|||
|
|
@ -36,6 +36,7 @@ my $session = start(); # this line required
|
|||
addInboxSmsNotificationTemplateIdSetting($session);
|
||||
upgradeJSONDatabaseFields($session);
|
||||
moveCalendarFeedsToJSON($session);
|
||||
addEmsScheduleColumnsDefaultValue($session)
|
||||
finish($session); # this line required
|
||||
|
||||
#----------------------------------------------------------------------------
|
||||
|
|
@ -47,6 +48,17 @@ finish($session); # this line required
|
|||
# print "DONE!\n" unless $quiet;
|
||||
#}
|
||||
|
||||
#----------------------------------------------------------------------------
|
||||
sub addEmsScheduleColumnsDefaultValue {
|
||||
my $session = shift;
|
||||
print "\tAdding default value for EMS Schedule Columns per Page..." unless $quiet;
|
||||
|
||||
$session->db->write( 'UPDATE TABLE EventManagementSystem set scheduleColumnsPerPage=5 where scheduleColumnsPerPage IS NULL' );
|
||||
|
||||
print "Done\n" unless $quiet;
|
||||
|
||||
}
|
||||
|
||||
sub addInboxSmsNotificationTemplateIdSetting {
|
||||
my $session = shift;
|
||||
print "\tAdding inboxSmsNotificationTemplateId setting... " unless $quiet;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue