Add 'greater than' and 'less than' operators to Key value options

Created on 9 August 2023, 11 months ago

Motivation

I'm going to submit a patch that we've made for a client, it adds 'Greater than' and 'Less than' options to Key Value pairs, allowing us to check the values of cookies. In the same way that gt and lt (and gte and lte) are already available for numeric options.

I understand this may not be the best solution, because key value pairs can have non-numeric values, but I thought I would push this patch in case it is helpful to anybody.

✨ Feature request
Status

Needs review

Version

3.1

Component

Code

Created by

πŸ‡¬πŸ‡§United Kingdom RhiP

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

Comments & Activities

  • Issue created by @RhiP
  • Open on Drupal.org β†’
    Core: 9.5.x + Environment: PHP 7.3 & MySQL 5.7
    last update 11 months ago
    Waiting for branch to pass
  • @rhip opened merge request.
  • Open on Drupal.org β†’
    Core: 9.5.x + Environment: PHP 7.3 & MySQL 5.7
    last update 11 months ago
    Waiting for branch to pass
  • @rhip opened merge request.
  • Open on Drupal.org β†’
    Core: 9.5.x + Environment: PHP 7.3 & MySQL 5.7
    last update 11 months ago
    Waiting for branch to pass
Production build 0.69.0 2024