I've found a problem when using exposed filters or items per page with a view that is overriding taxonomy terms.
The problem is when I change any exposed filter or items per page it reloads the view but changes path of my term from the alias to view's path from its settings.

Example: I'm on "cars/porsche" and I change the Color exposed filter. The page reloads and I'm now on "taxonomy/cars/33/0?color=37&items_per_page=50".


DuaelFr’s picture

Category: bug » feature

Did you try to use taxonomy/term/% as views' path ?
It may solves your issue.

But you are right, it would be great if the path were kept for all views.
Feel free to provide a patch if you need it quickly.

kevinquillen’s picture

Status: Active » Postponed (maintainer needs more info)
joncjordan’s picture

Issue summary: View changes

I had a similar issue which I fixed via hook form alter:

if ($form_id == 'views_exposed_form' && $form['#id'] == 'views-exposed-form-myview-page-1'){
  if (arg(0) == 'taxonomy' && arg(1) == 'term' && is_numeric(arg(2))) {
    $form['#action'] = '/taxonomy/term/'. arg(2);

By default, the form action is pointing to the url of the view.

kevinquillen’s picture

Status: Postponed (maintainer needs more info) » Fixed

See above comment.

Status: Fixed » Closed (fixed)

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