I've noticed that when adding multiple filters, after you 'Expose' one, it doesn't automatically offer editing of the others.

For example, when you add multiple filters, you then get taken through each one and customise it. After clicking 'Update', you get taken to the next one, and so on. However, if you click 'Expose' then 'Update', you get taken back to the main screen where you have to click on the remaining filters manually to customise them.

Hope I've explained it well enough for you to duplicate.

Comments

Anonymous’s picture

Version: 6.x-2.2 » 6.x-2.3
Issue tags: +exposed filter

Any update on this?

merlinofchaos’s picture

Sorry, have so much to do that this one has remained on the back burner. Still keeping it open in the vain hope someone else will take a look at it for me. I'll get to it someday =)

dagmar’s picture

Version: 6.x-2.3 » 6.x-3.x-dev
Issue tags: +Usability

Yes this is a interesting feature. Moving to views 3.

esmerel’s picture

Category: bug » feature
esmerel’s picture

Assigned: Unassigned » dawehner

did this get done as part of the expose filters/forms stuff in 3.x?

dagmar’s picture

Assigned: dawehner » Unassigned

Not really, is more a views UI feature request than a view option.

esmerel’s picture

Status: Active » Postponed
Anonymous’s picture

Status: Postponed » Active

Ok, so I've been looking through the code and have found the issue on lines 1710-1719 of views/includes/admin.inc:

<?php
// check to see if this is the top form of the stack. If it is, pop
// it off; if it isn't, the user clicked somewhere else and the stack is
// now irrelevant.
if (!empty($view->stack)) {
  $identifier = views_ui_build_identifier($key, $view, $display_id, $args);
  $top = array_shift($view->stack);
  if (array_shift($top) != $identifier) {
    $view->stack = array();
  }
}
?>

Currently, clicking 'Expose' has the same effect as clicking 'Update' - the stack is reduced by one element; however, as the filter in question hasn't changed, there is now a difference between the current filter and the 'identifier' which, as a result, discards the stack altogether.

I couldn't work out how to prevent the 'Expose' button from shifting the current filter off the stack, but hopefully this information helps someone else work it out.

Letharion’s picture

Category: feature » task
mustanggb’s picture

Issue summary: View changes
Status: Active » Closed (won't fix)