Skip to content

Conditional Filter(s) Anyone? #465

@DiegoPino

Description

@DiegoPino

What? This has been a childhood dream of me: Views Filters that are conditional. Imagine the following... 🌈

" No Full text search", Filter for ADOs that are containedby an ID, "Full Text search" token present? Disable that Filter and instead search/apply the Full Text search to All ADOs that areispartof, would not that be beautiful? One that shows hierarchy but the moment I enter a search, the hierarchy flattens and I can search across every level. This would have to be also possible for Contextual filters though.. which is damn hard

(Dream-wise: no, not really... I don't dream with/about code lately -dead inside-, nor did as a child -alive inside-)

@alliomeria this would solve the issue with Ajax driven nested hierarchical calls, that on Input become "search across anything" type of situation.

Also. Related to the same. Current Ajax driven (template based/data attribute listeners) Views Should be able to inherit exposed values from the URL they are embedded in, EXCEPT for sort. Sorts are a mess bc they will evaluate a Select Box, that if does not contain the exact value present in the exposed Filter, will give you an horrible notice (happens when you pass from one view to another a Sort argument and they don't match between pages/views)

Metadata

Metadata

Assignees

Labels

Drupal 10Upgrade economyDrupal ViewsAsk and you should receiveSearch APISearch and DiscoveryMess around and find outSub ModulesWhen you need more .info.yml files to keep life organizedenhancementNew feature or requestfuture roadmapThings we would love to have but are no priority for version 1.0

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions