You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
analytics/lib/plausible/stats
Karl-Aksel Puulmann 1cb7982cd9
Filtering by multiple custom properties (#3719)
* WIP: PropFilterRow

* Get multi-behavior working

* Render multiple prop filters in one

* Modal reads from query string correctly

* Backend support for multiple custom property filters

* Add backend tests for multiple custom property filters

* Disable already selected options in property keys

We can't allow choosing the same property multiple times without changing the request
params, which we decided against

* Allow choosing any property under Behaviors > Custom props even if custom prop filter applied

This was a limitation (I believe) introduced by using ARRAY JOINs to query custom properties

* CHANGELOG.md

* Solve credo warning about too deep nesting

* Update assets/js/dashboard/stats/modals/prop-filter-modal.js

Co-authored-by: RobertJoonas <56999674+RobertJoonas@users.noreply.github.com>

* Refactor internal function for clarity

* Add another step -> Add another

* Solve 500 error

* Separate boxes per property filter

* Retain other filters in props table

* removeFilter behavior for props

* matches_member support for custom props

* filter_suggestions for prop keys should account for prop filter

* find over filter

* refactor appliedFilters

* FILTER_TYPES => FILTER_OPERATIONS

* Make add another link not wrap the whole page

* Unique keys

---------

Co-authored-by: RobertJoonas <56999674+RobertJoonas@users.noreply.github.com>
3 years ago
..
filters Parse referrer filter value when passed separately (#3742) 3 years ago
aggregate.ex trace aggregate and timeseries queries too (#3712) 3 years ago
base.ex Filtering by multiple custom properties (#3719) 3 years ago
breakdown.ex Filtering by multiple custom properties (#3719) 3 years ago
clickhouse.ex Make subsequent query boundaries idempotent (#3723) 3 years ago
compare.ex Small bugfix + refactor email reports (#3642) 3 years ago
comparisons.ex Generalize Cache/Warmers - extract only specifics to `Site.Cache` (#3716) 3 years ago
current_visitors.ex Clean up after V2 migration (#2868) 4 years ago
custom_props.ex Add `event:goal` property to Stats API (#3718) 3 years ago
email_report.ex Small bugfix + refactor email reports (#3642) 3 years ago
filter_suggestions.ex Filtering by multiple custom properties (#3719) 3 years ago
fragments.ex Remove ARRAY JOINs (#3708) 3 years ago
imported.ex Skip breakdown of imported pages with pageviews=0 (#3655) 3 years ago
interval.ex Disallow small intervals on large ranges (#3245) 3 years ago
props.ex Add `event:goal` property to Stats API (#3718) 3 years ago
query.ex Filtering by multiple custom properties (#3719) 3 years ago
timeseries.ex trace aggregate and timeseries queries too (#3712) 3 years ago
util.ex Small build updates (#3546) 3 years ago