mark: A photo of Mark kneeling on top of the Taal Volcano in the Philippines. It was a long hike. (Default)
Mark Smith ([staff profile] mark) wrote in [site community profile] changelog2009-04-18 09:37 pm

[dw-free] Can't choose non-US country with state

[commit: http://hg.dwscoalition.org/dw-free/rev/47e50adac8ec]

http://bugs.dwscoalition.org/show_bug.cgi?id=750

Add regions to CA/AU and remove UK from the regionable list.

Patch by [staff profile] denise.

Files modified:
  • cgi-bin/LJ/Directory/MajorRegion.pm
--------------------------------------------------------------------------------
diff -r 994dc3820d95 -r 47e50adac8ec cgi-bin/LJ/Directory/MajorRegion.pm
--- a/cgi-bin/LJ/Directory/MajorRegion.pm	Sat Apr 18 21:34:09 2009 +0000
+++ b/cgi-bin/LJ/Directory/MajorRegion.pm	Sat Apr 18 21:37:48 2009 +0000
@@ -96,8 +96,31 @@ if (!@reg || $LJ::_T_DEFAULT_MAJREGIONS)
                              ]
                 ],
                 [66, "CA"],
-                [67, "UK"],
+                [ 152, 'CA-AB', part_of => 'CA' ],
+                [ 153, 'CA-BC', part_of => 'CA' ],
+                [ 154, 'CA-MB', part_of => 'CA' ],
+                [ 155, 'CA-NB', part_of => 'CA' ],
+                [ 156, 'CA-NL', part_of => 'CA' ],
+                [ 157, 'CA-NT', part_of => 'CA' ],
+                [ 158, 'CA-NS', part_of => 'CA' ],
+                [ 159, 'CA-NU', part_of => 'CA' ],
+                [ 160, 'CA-ON', part_of => 'CA' ],
+                [ 161, 'CA-PE', part_of => 'CA' ],
+                [ 162, 'CA-QC', part_of => 'CA' ],
+                [ 163, 'CA-SK', part_of => 'CA' ],
+                [ 164, 'CA-YT', part_of => 'CA' ],
+
+
+#                [67, "UK"],
                 [68, "AU"],
+                [ 165, 'AU-ACT', part_of => 'AU' ],
+                [ 166, 'AU-NSW', part_of => 'AU' ],
+                [ 167, 'AU-NT', part_of => 'AU' ],
+                [ 168, 'AU-QLD', part_of => 'AU' ],
+                [ 169, 'AU-SA', part_of => 'AU' ],
+                [ 170, 'AU-TAS', part_of => 'AU' ],
+                [ 171, 'AU-VIC', part_of => 'AU' ],
+                [ 172, 'AU-WA', part_of => 'AU' ],
 
                 [69, 'RU-1', part_of => 'RU'],
                 [70, 'RU-2', part_of => 'RU'],
--------------------------------------------------------------------------------