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
| Comment | File | Size | Author |
|---|---|---|---|
| #11 | apachesolr_views-contextual_filter_fix-1425464-11-7.patch | 586 bytes | cachesclay |
Comments
Comment #1
steve.neill commented+Subscribe.
This seems like something that needs to be fixed soon!
Comment #2
msamavi commented+Subscribe.
Comment #3
nyleve101 commentedHi,
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
Comment #4
nyleve101 commentedComment #5
ygerasimov commentedBasic implementation is done. Welcome to test.
Comment #7
George Bills commentedI 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.
Comment #8
yaelsho commentedHello,
I also add to follow #7 to make the contextual filter work.
Thank you George!
Comment #9
yaelsho commentedComment #10
acidpotato commented@ #9 - Please open a new ticket and provide details of your issue.
Comment #11
cachesclay commentedAdding patch of george-bills' solution.
Comment #12
jfalkner commentedThank you, Julian. Nice to have it neatly packaged so my issue can be solved fast. Works like a charm!
Comment #13
miroslavbanov commented@e.c.f.
This should already be fixed on dev in this issue:
#1750952: apachesolr_views_handler_argument is ignored by build(&$view)