Closed (fixed)
Project:
Apache Solr Search
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
15 May 2009 at 18:15 UTC
Updated:
3 Jul 2009 at 19:10 UTC
Jump to comment: Most recent file
Comments
Comment #1
pwolanin commentedComment #2
David Lesieur commentedPatch seems to work well.
By moving the $count argument of theme_apachesolr_facet_item() after $path and $options, it would be more consistent with theme_apachesolr_unclick_link().
Comment #3
pwolanin commentedrevised patch per suggestion.
Comment #4
JacobSingh commentedWhile reviewing the patch, I uncovered this bug: http://drupal.org/node/495012
Which is not related to the patch itself.
The patch itself looks okay, I don't think it will be totally intuitive for most themer. For instance ,we have apachesolr_facet_item and apachesolr_unclick_link. Should it be apachesolr_add_facet_link and apachesolr_remove_facet_link?
Anyway, here is another one with a little bit of docs in apachesolr.module as a starting point.
Comment #5
pwolanin commentedfor consistency, changing apachesolr_facet_item to apachesolr_facet_link, but I think longer names are unwieldy.
Also, making the signature of apachesolr_sort_link match.
Comment #6
JacobSingh commentedI didn't test this last patch, but if that's all you changed I give it a thumbs up.
Comment #7
pwolanin commentedcommitted to 6.x (note I added the change to the REAME manually - I mised it in the last patch)
Comment #8
mkalkbrennerSee #496650: Unclick links don't work in 6.x-1.x-dev 2009-Jun-19