Add event to allow altering filter parameters before processing

Created on 28 May 2025, about 1 month ago

Problem/Motivation

I require to alter the filter params before they are processed. There was no clean way to do it besides overriding the class or do it in a later event.

Proposed resolution

I created a new event where we can alter the filter params before they are processed.

Feature request
Status

Active

Version

8.0

Component

Code

Created by

🇳🇱Netherlands MarcKwee

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

Merge Requests

Comments & Activities

  • Issue created by @MarcKwee
  • First commit to issue fork.
  • 🇨🇦Canada mparker17 UTC-4

    @marckwee, thank you for the contribution! This sounds like a great idea to me!

    I committed your code to a merge request to make it easier for me to review. I took a very quick look at your patch: the changes seem clear to me, but I haven't yet had a chance to run the changed code... I may have more feedback when I do.

    We should add a change record to assist people upgrading from 8.x-7.x

    I didn't see any automated tests in your patch... we prefer to accept merge requests that have passing automated tests. Automated tests ultimately benefit you, because they ensure that future changes to this module (i.e.: by other people) will not break the functionality that your site depends on!

Production build 0.71.5 2024