can we have exposed filter in block redirect to view URL without appending parameters

Created on 28 February 2024, 3 months ago
Updated 7 March 2024, 3 months ago

I have a search block on homepage. When you search,it navigates to view page but appends query params like /search?keywords=test&stores=1141

Steps to reproduce

  1. Create a database search view.
  2. Create a page with exposed filters which will display on view page.
  3. Create a block display with exposed filters which only has 2 fields out of other exposed filters on view page.
  4. Place the block on homepage.
  5. When you filter, the page redirects to view page with query parametres appened to the url.
  6. Is there a way to hide exposed filter param from url? (P.S> i have tried using event subscriber but have trouble setting expposed filter on view page )
  7. Also , if i have a sort block (which is exposed as a different block but placed on view page itself) it refreshes the page even when AJAX is enabled.

Any suggestions will be appreciated!

💬 Support request
Status

Postponed: needs info

Version

9.5

Component
Views  →

Last updated about 11 hours ago

Created by

🇮🇳India Aish17895

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @Aish17895
  • Status changed to Postponed: needs info 3 months ago
  • 🇳🇱Netherlands Lendude Amsterdam

    Not 100% clear what you would want/expect to see but it sort of sounds like you want the exposed filter to do a POST request and not a GET request.

    You can probably do that through a form alter hook, not sure how well it will play along with other parts of the View if you do that.

Production build 0.69.0 2024