Index: handlers/apachesolr_views_handler_argument.inc =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/apachesolr_views/handlers/apachesolr_views_handler_argument.inc,v retrieving revision 1.2 diff -u -p -r1.2 apachesolr_views_handler_argument.inc --- handlers/apachesolr_views_handler_argument.inc 6 Apr 2009 21:33:47 -0000 1.2 +++ handlers/apachesolr_views_handler_argument.inc 30 Apr 2009 01:59:20 -0000 @@ -11,27 +11,12 @@ class apachesolr_views_handler_argument * Add argument to query. */ public function query() { - if (!empty($this->options['break_phrase'])) { - $this->value = explode(',', $this->argument); - } - else { - $this->value = array($this->argument); - } - foreach ($this->value as $facet_value) { - $this->query->add_filter($this->real_field, apachesolr_views_query::escape_term($facet_value)); - } + $this->query->set_query(Drupal_Apache_Solr_Service::escape($this->argument)); } function options_form(&$form, &$form_state) { parent::options_form($form, $form_state); - - // allow for , delimited values - $form['break_phrase'] = array( - '#type' => 'checkbox', - '#title' => t('Allow multiple terms per argument.'), - '#description' => t('If selected, users can enter multiple arguments in the form of 1,2,3.'), - '#default_value' => !empty($this->options['break_phrase']), - ); + //TODO add any options to the argument settings here } /**