Closed (fixed)
Project:
Search API
Version:
7.x-1.x-dev
Component:
Facets
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
3 Feb 2011 at 15:47 UTC
Updated:
17 Mar 2011 at 20:31 UTC
Jump to comment: Most recent file
Add an option for facet blocks that adds a Javacript "More" link for expanding the list of displayed facets.
E.g., "facet limit" is 10, so 10 facets are displayed by default. With the option, other facets will also be present on the page, but hidden with CSS. A "More" link allows the user to display them.
Should be rather easy JS magic.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | search_api_facets.more_link.patch | 9.76 KB | drunken monkey |
| #1 | search_api_facets.more_link.patch | 9.69 KB | drunken monkey |
Comments
Comment #1
drunken monkeyShould be done, test at leisure. ;)
Comment #2
drunken monkeyBetter still — test this patch, which fixes a bug I thought of about half a second after posting the previous comment …
Comment #3
drunken monkeyCommitted.
Comment #4
drunken monkeyAdded a "less" link.