Finally figured out why we sometimes see 0 COMPONENTS in pasted smart-links for Compass component search queries with non-zero results. It's as soon as you select a non-default display column:
URL query params | Smart-link |
tier=2 | ✔️ |
tier=2&__more_default_columns__=compass%3Atier | ❌ |
Similarly when components search URLs that use custom fields values as a filter are pasted as smart-links, their behaviour differs depending on the custom field type used to filter, for example:
Filter Field Type | Presentation |
single_select | ✔️ |
multi_select | ✔️ |
number | ❌ |
A number filtered query for the value 1 results in a URL query param:
custom-field.FIELD_GUID=%2C1
An incorrect zero component count also results from a pasted link with URL query param:
status=archived