@labkey/api
    Preparing search index...

    Function getFilterDescription

    • Convert from URL syntax filters to a human readable description (e.g. "Is Greater Than 10 AND Is Less Than 100").

      Parameters

      • url: string

        URL containing the filter parameters

      • dataRegionName: string

        Name of the data region the column is a part of

      • columnName: string

        Name of the column to filter

      Returns string

      Human readable version of the filter

      var url = 'mylab.org?qwp1.priority~gt=10&qwp1.priority~lte=75';

      var description = LABKEY.Filter.getFilterDescription(url, 'qwp1', 'priority');

      console.log(description); // "Is Greater Than 10 AND Is Less Than or Equal To 75"