Change name of MapPoint property from state to region to avoid conflict with asset state. Add template i18n. Fixes bugs 11531, 11532
This commit is contained in:
parent
0b6e78f6d9
commit
112db57dd1
5 changed files with 15 additions and 1 deletions
|
|
@ -13,6 +13,8 @@
|
|||
- fixed #11525: Paste assets inside CS
|
||||
- added #620: Add buttons to the GalleryAlbum edit view so users can rotate photos by 90 deg (Bernd Kalbfuß-Zimmermann)
|
||||
- fixed #11530: account deactivation not working (United Knowledge)
|
||||
- fixed #11531: MapPoint property conflict
|
||||
- fixed #11532: MapPoint, no i18n
|
||||
|
||||
7.9.2
|
||||
- added: Workflow to extend recurring Calendar events 2 years from the
|
||||
|
|
|
|||
Binary file not shown.
Binary file not shown.
|
|
@ -32,6 +32,7 @@ my $session = start(); # this line required
|
|||
|
||||
reindexSiteForDefaultSynopsis( $session );
|
||||
addTopLevelWikiKeywords( $session );
|
||||
renameMapPointStateColumn( $session );
|
||||
|
||||
finish($session); # this line required
|
||||
|
||||
|
|
@ -45,6 +46,17 @@ finish($session); # this line required
|
|||
# print "DONE!\n" unless $quiet;
|
||||
#}
|
||||
|
||||
#----------------------------------------------------------------------------
|
||||
sub renameMapPointStateColumn {
|
||||
my $session = shift;
|
||||
print "\tRename the MapPoint column state to region... " unless $quiet;
|
||||
|
||||
$session->db->write('ALTER TABLE MapPoint CHANGE state region char(35)');
|
||||
|
||||
print "Done.\n" unless $quiet;
|
||||
}
|
||||
|
||||
|
||||
#----------------------------------------------------------------------------
|
||||
sub addTopLevelWikiKeywords {
|
||||
my $session = shift;
|
||||
|
|
|
|||
|
|
@ -99,7 +99,7 @@ sub definition {
|
|||
label => $i18n->get("city label"),
|
||||
hoverHelp => $i18n->get("city description"),
|
||||
},
|
||||
state => {
|
||||
region => {
|
||||
tab => "properties",
|
||||
fieldType => "text",
|
||||
label => $i18n->get("state label"),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue