Downloads

Download location-5.x-3.0-rc2.tar.gztar.gz 1.63 MB
MD5: 2fd1b2d79d9bffdc379d4a9a50a9d997
SHA-1: 695b66a9cb5f32f1d9d5bec403eb5a150d3d1d12
SHA-256: bfba19e7f6878d49b741224a5803123821dacd79217f92a8ee8367b7fa248c40
Download location-5.x-3.0-rc2.zipzip 1.76 MB
MD5: ba7a4df4975bff1c6355dd97885c8da8
SHA-1: 8895edaa799491fdb5546a459e1343a84d57449c
SHA-256: 65852cd02c4cfb032f0020973ce2cc4088bc46fb7aaa9dd5e6989ab99806861f

Release notes

This is mainly released now because people keep running into #317998: preg_match() expects parameter 2 to be string, array given w pliku /mydrupaldir/includes/bootstrap.inc, linia 670. and re-reporting it.

Changes since DRUPAL-5--3-0-RC1:

  • #317998 by szy, mburak: Don't attempt to tokenize arrays.
  • #142272 by thierry_gd: Better province names for Provence-Alpes-Cote d'Azur in location.fr.inc.
  • Add function location_province_code().
  • Fix $op 'delete' on hook_locationapi().
  • API CHANGE: Use location_save_locations() with an empty array instead of deleting rows from {location_instance}. This lets us have "real" deletion instead of relying on garbage collection.

    Before:

    db_query("DELETE FROM {location_instance} WHERE genid = '%s'", 'mykey:'. $obj->id);
    

    After:

    $locations = array();
    location_save_locations($locations, array('genid' => 'mykey:'. $obj->id));
    
  • Remove garbage collection routine and UI from settings page. References are checked automatically now.
  • Better late than never.

    Here is a rewritten location_search.module. It uses the search apis and is able to do fulltext searching. It's also cleaner, and will be ported to Drupal 6.

    It searches by location, not node. (Restriction to specific types of objects is possible but not implemented yet.)

    Hopefully I didn't accidentally leave out / forget any features people were using.

    It will need to generate a search index before it will work properly, so do the same thing you would do if you were reindexing the site (i.e. run cron in a loop and watch the percentage indexed number)

    Minor api change (optional):
    * Add an 'instance_links' op to hook_locationapi so modules can stick in the correct urls for the instances they handle.

  • Slight fix to #305474, noticed by sterwa: Change the second 'ro' in the list to 'ru'.
  • location_search actually does truly depend on search now.
  • Make the pager work correctly non-fulltext search.
  • Make a change to _location_render to allow submodules to use it properly.
    Move the search templates to the location_search folder.
  • Remove undefined variable.
  • Significant improvements to the proximity map.
    • Removed the workaround that involved truncating the views cache.
    • Fix [#321291]
    • Behavior change: Exposed proximity map filters now have correct field names. This allows optional exposed proximity maps to work. (Otherwise, views would not be able to see that the filter was actually filled in.)
    • Work around a Views 1 bug that failed to persist filter settings properly when editing a view.
    • Add a function, location_check_coordinates(), to centralize the emptiness checks.
      Fix map centering when editing locations with LOCATION_LATLON_UNDEFINED coordinates.
      See [#317159]
Created by: bdragon
Created on: 20 Oct 2008 at 17:01 UTC
Last updated: 20 Oct 2008 at 17:01 UTC
New features
Bug fixes

Other releases