Problem/Motivation

I've created a view with an exposed filter in drupal 9.1.2 with the path "/products"
The exposed block is added to the sidebar.

When i go to the the page "www.mydomein.com/products" and i use the exposed filter from the sidebar block, everything works fine, the path is:

www.mydomain.com/products?filter=test

But when i go to the homepage and then use the exposed filter, the path "/products" is not added to the path of the filter, so the path is:

www.mydomain.com/?filter=test

With ofcourse no results from the view.

Steps to reproduce

Install Drupal 9.1.2, make a view that lists al the pages, make an exposed filter for example "title", put the exposed block in de sidebar, go to the homepage and search for some page. The view is not working in the website, only on the views path.

Proposed resolution

The path of the view is added to the path of the filter.

Comments

mindhunter75 created an issue. See original summary.

pameeela’s picture

Status: Active » Postponed (maintainer needs more info)
Issue tags: +Bug Smash Initiative

Perhaps there is a step missing here in the views config, because I can't reproduce this in vanilla 9.1.2?

Test at https://stm6007cc9869a3b-ginfvxbj1ldqbb17ftoits0usnwp9lpv.tugboat.qa/ (this will only be live for ~24 hours)

It works from the home page, taking you to https://stm6007cc9869a3b-ginfvxbj1ldqbb17ftoits0usnwp9lpv.tugboat.qa/tes...

mindhunter75’s picture

I'm sorry Pameela,

I did a directadmin recovery of my drupal installation and thought it was a clean install but it wasn't.
Checked again on a clean install and indeed, it just works.

Sorry for the inconvenience! Kind regards.

pameeela’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)

No worries, thanks for updating!