how to use filter row by regexp

Created on 28 September 2024, 6 months ago

Problem/Motivation

How do I make use of the "Filter rows by regexp" aggregator? I set that for a column (see attached image) but not sure how to make it work?

My goal is to not display a row if some of the columns are empty...for example my view has 9 columns and if the last 4 columns are empty, then i want to not display the row; can this module help me accomplish that?

Proposed resolution

Add more information to the module's page (:

πŸ’¬ Support request
Status

Active

Version

2.0

Component

User interface

Created by

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

Comments & Activities

  • Issue created by @monaw
  • πŸ‡ΊπŸ‡ΈUnited States tr Cascadia

    First thing, you should probably choose a different administrative theme for your site. What you're using now looks bad, and makes things harder to use. For example, here is how it might look if you used the default Claro administrative theme instead:

    I think you agree that is easier to read that what you are using.

    To answer your question directly, the regular expression should be entered in the "Parameter" textfield below the selection. Note that any selections like "Filter rows (by regexp) *" that have an asterisk like that need a parameter entered.

    The regular expression can either have a leading / and trailing /, or those can be omitted - it will work either way.

    The regular expression operates on the raw value of the field (not the formatted value).

    You can use a website like https://regex101.com/ to develop and test your regular expressions.

  • πŸ‡ΊπŸ‡ΈUnited States tr Cascadia
  • πŸ‡ΊπŸ‡ΈUnited States tr Cascadia
  • Automatically closed - issue fixed for 2 weeks with no activity.

Production build 0.71.5 2024