Skip to content
  1. Oct 09, 2008
    • Brandon Bergren's avatar
      Better late than never. · 475004fd
      Brandon Bergren authored
      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.
      475004fd
    • Brandon Bergren's avatar
      * Add function location_province_code(). · 13900abc
      Brandon Bergren authored
      * 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:
      <code>
      db_query("DELETE FROM {location_instance} WHERE genid = '%s'", 'mykey:'. $obj->id);
      </code>
      
      After:
      <code>
      $locations = array();
      location_save_locations($locations, array('genid' => 'mykey:'. $obj->id));
      </code>
      
      * Remove garbage collection routine and UI from settings page. References are checked automatically now.
      13900abc
    • Brandon Bergren's avatar
  2. Oct 07, 2008
  3. Oct 06, 2008
  4. Oct 02, 2008
  5. Oct 01, 2008
  6. Sep 30, 2008
  7. Sep 29, 2008
  8. Sep 19, 2008
  9. Sep 17, 2008
  10. Sep 16, 2008
  11. Sep 13, 2008
  12. Sep 09, 2008