Closed (fixed)
Project:
Facet API
Version:
7.x-1.0-beta1
Component:
User interface
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
11 May 2011 at 13:17 UTC
Updated:
27 May 2011 at 14:01 UTC
Jump to comment: Most recent file
Comments
Comment #1
cpliakas commentedHi pjcdawkin.
Thanks for the post. I actually saw this last night but forgot to add an issue. I really like your idea about having a "empty result" setting similar to Views. I think this is both a bug report and feature request, so I am marking as a bug report since that is more likely catch my attention and prevent it from slipping through the cracks.
Thank,
Chris
Comment #2
cpliakas commentedChanging title to reflect the bug portion of this issue.
Comment #3
cpliakas commentedFixed awful grammar.
Comment #4
cpliakas commentedThe attached patch fixes the bug portion of this issue.
Comment #5
cpliakas commentedCommitted at ad7c0ea. Opened separate issue at #1154794: Implement setting to configure the behavior when a facet has no items for the feature request.
Comment #6
patrick r. commentedI think it would be only logical to go one step further and hide all facet links which will not narrow down the result set. Basic example: if you do a search that returns a single result row you will get one link in each available facet block which actually won't do anything.
Comment #7
cpliakas commentedPatrick R,
Thanks for the post. This is a separate issue outside of the original topic of this thread, so I am starting an issue at #1156606: Implement a configurable filter system that can alter the facet's render array prior to being passing to the widget for further discussion.
Thanks,
Chris