I have an eva view with a list of Educations attached to an entity of type Organization. So the URL for viewing the organization page would be example.com/redhen/org/12345. I have exposed filters on the Education eva view. When the form from the exposed filter is submitted, the page is refreshed with the correct results but the url becomes example.com/redhen/org/12345/12345. And each additional submission of the exposed filter appends another 12345 to the end of the url.
Is there something I could be doing wrong?
Thanks,
Mickey
Comment | File | Size | Author |
---|---|---|---|
#2 | id_appended_to_url_multiple_times_after_using_exposed_filter-2037249-2.patch | 1.2 KB | lchang |
Comments
Comment #1
bisonbleu CreditAttribution: bisonbleu commentedI'm have the same issue. In addition, the alias is lost.
For example:
- initial URL: mysite.com/teachers
- filter list on 'Math': mysite.com/node/29?tid_1=12
- filter list on 'Any': mysite.com/node/29/29?tid_1=All
- filter list on 'English': mysite.com/node/29/29/29?tid_1=9
and so on :-?
not pretty :-/
awesome module : )
Comment #2
lchang CreditAttribution: lchang commentedIn the "eva_plugin_display_entity.inc", the "override_path" is set to "$_GET['q']" and the "get_path()" returns an absolute link. I'm not sure what the reason is.
The attachment is a patch.
Comment #3
geek-merlinThe code looks reasonable, but i'm not too deep into these path issue.
Novice task: reproduce the problem, check the patch fixes it and creates no new path issue; set RTBC.
Comment #4
geek-merlinWhy throw the options away?
This looks like an ad-hoc hack. We need some thorough analysis why the problem happens and a patch that will not break other stuff.