Make exposed filters work within viewfields
alex_b - February 11, 2007 - 00:47
| Project: | Viewfield |
| Version: | HEAD |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
If you follow a sort link on a sortable tables or change a settings on an exposed filter, the embedding node of the view is left to the page URL of the view.
The view should stay under all circumstances within its embedding node.

#1
doublechecked. sorting is ok. filtering not.
#2
Needed a quick fix for this and did the following:
$form['#parameters'][1]->url = $_GET['q'];This simply changes the action of the filter form from the original views page to the current (ie node) page. From there everything else works as expected.
This seems to be a quick fix that resolves the issue with out breaking any functionality or conventions. However, if I've missed something, please let me know.
#3
I tried this modification of template.php but all I got was an error informing me I couldn't redeclare the function theme_views_filters in template.php.
I then tried editing views.module directly. I got no errors, but it also didn't seem to make the slightest bit of difference.
I'm using drupal 5.1, views 5.x-1.6-beta5 and view field 5.x-1.2
#4
still an issue? if so, i think the fix is in viewfield_field_formatter()
#5
Closed because there was no response. Please reopen if this is still an issue.