Lists: an enum filter shows the list's static value as its default #208

Merged
jcoffey-dev merged 1 commits from fix/list-filter-static-default into main 2026-11-15 05:14:54 +00:00
Owner

A list whose static filters already set a field showed that field's enum filter as "All", while the list still showed only the static value. The filter now shows the static value and offers no "All". Needed for the delivery history kind filter in inbuxa/inbuxa-server#397.

A list whose static filters already set a field showed that field's enum filter as "All", while the list still showed only the static value. The filter now shows the static value and offers no "All". Needed for the delivery history `kind` filter in inbuxa/inbuxa-server#397.
jcoffey-dev added 1 commit 2026-11-15 03:59:14 +00:00
Lists: an enum filter shows the list's static value as its default
ci / build (pull_request) Skipped
ci / notices (pull_request) Successful in 17s
ci / publish (pull_request) Skipped
github/ci (branch) GitHub Actions
ci / github (pull_request) Successful in 1m45s
06b91aec40
A list whose static filters already set a field showed that field's enum
filter as "All", and choosing "All" cleared the reader's value, so the
static one came back: the filter said All while the list showed one kind.

Delivery history needs this now: inbuxa-server#397 gives both lists a
`kind` filter with a static default (received for inbound, remote for
outbound) and an explicit "Both". When the static filters set the field,
the filter shows that value and offers no "All"; picking another value
overrides it in the query as before.

Refs inbuxa/inbuxa-server#397
jcoffey-dev merged commit d52badfb27 into main 2026-11-15 05:14:54 +00:00
jcoffey-dev deleted branch fix/list-filter-static-default 2026-11-15 05:14:54 +00:00
Sign in to join this conversation.