Closed (fixed)
Project:
Facet API
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
1 Jun 2011 at 15:59 UTC
Updated:
15 Jun 2011 at 20:11 UTC
Jump to comment: Most recent file
Comments
Comment #1
pwolanin commentedComment #2
pwolanin commentedOr - perhaps we (also?) need a way to define which widgets can work with which query types?
Comment #3
cpliakas commentedI really like the idea in #1. So to clarify, if the facet doesn't have a default widget or the facet's widget is undefined, it falls back to the realm's default?
Regarding #2, we need to re-integrate a whole "widget conditions" and "widget requirements" system which included but is not limited to query types. For example, one requirement would be "query type is a range" so that a slider widget could be used. Another common use case is that form element widgets should be available for fieldset realms but not for block realms. The system in the 6.x version works but is confusing as hell. I would like to simplify it if possible.
Comment #4
pwolanin commentedYes, right - it falls back to the realm default
Comment #5
pwolanin commentedcommitted #1 - obviously the widget conditions/requirements is a bigger discussion.