Hello,
I'd like to use view to list some nodes located in several provinces, so I would need to give a list a province id as arguments (ex : 76,32,45).
We can do that for exemple with uid or nid but many field to let us to do that.
If someone has a clue on how to do that, I'm interested !
Thanks

Comments

Anonymous’s picture

I tried something, it seems to work
I've modified the location_handler_argument_location_province.inc file
I haven't changed the summary_name function because I don't really understand its purpose.

msumme’s picture

Status: Active » Needs review

+1 for this. This should definitely be in the location module.

yesct’s picture

Issue tags: +location bdragon check

tagging.

ankur’s picture

Version: 6.x-3.x-dev » 7.x-4.x-dev

Changing version to 7.x-4.x, since that is where functionality enhancements will be considered.

podarok’s picture

Version: 7.x-4.x-dev » 7.x-3.x-dev
Status: Needs review » Active

#1931088: [META] Fixing tests tests were broken, so triggering to active

podarok’s picture

Status: Active » Needs review

bot

podarok’s picture

Status: Needs review » Needs work
+++ location/handlers/location_handler_argument_location_province.inc	2009-11-26 16:24:23.000000000 +0100
@@ -5,6 +5,48 @@
+  }
+  ¶
+  function options_form(&$form, &$form_state) {
+++ location/handlers/location_handler_argument_location_province.inc	2009-11-26 16:24:23.000000000 +0100
@@ -5,6 +5,48 @@
+      if ($this->argument != '') {
+	    $this->value = explode(',', $this->argument);
+	  }
+	  $this->operator = 'or';
+++ location/handlers/location_handler_argument_location_province.inc	2009-11-26 16:24:23.000000000 +0100
@@ -5,6 +5,48 @@
+    }
+    ¶

tabstops should be whitespaces
and trailing whitespaces errors
http://drupal.org/coding-standards#indenting

jerenus’s picture

jerenus’s picture

Status: Needs work » Needs review
podarok’s picture

Status: Needs review » Fixed

#8 commited pushed to 7.x-3.x
thanks!!!

Status: Fixed » Closed (fixed)
Issue tags: -location bdragon check

Automatically closed -- issue fixed for 2 weeks with no activity.