When trying to add arguments in the contextual filters. The argument filter handlers are missing I checked the files and it doesn't exist. Though it exist for drupal 6 version

Julian Mancera

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

steve.neill’s picture

+Subscribe.

This seems like something that needs to be fixed soon!

msamavi’s picture

+Subscribe.

nyleve101’s picture

Hi,

just wondering if this feature will be ported to D7 soon? If it's not in the immediate plans would anyone be willing to implement it for a bounty?

Hope all is well,

Evelyn

nyleve101’s picture

ygerasimov’s picture

Status: Active » Fixed

Basic implementation is done. Welcome to test.

Status: Fixed » Closed (fixed)

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

George Bills’s picture

I might be making a mistake on my side, but to get my contextual filter to work I needed to change:

$this->query->add_filter($this->real_field, $this->argument);

to:

$this->query->add_where(0, $this->real_field, $this->argument);

Params added through "add_filter" don't seem to end up in the "fq" param passed to Solr.

yaelsho’s picture

Issue summary: View changes

Hello,
I also add to follow #7 to make the contextual filter work.
Thank you George!

yaelsho’s picture

Status: Closed (fixed) » Active
acidpotato’s picture

Status: Active » Closed (fixed)

@ #9 - Please open a new ticket and provide details of your issue.

cachesclay’s picture

Adding patch of george-bills' solution.

jfalkner’s picture

Thank you, Julian. Nice to have it neatly packaged so my issue can be solved fast. Works like a charm!

MiroslavBanov’s picture