Posted by David Lesieur on May 26, 2009 at 8:20pm
6 followers
| Project: | Apache Solr Search Integration |
| Version: | 6.x-1.5 |
| Component: | User interface |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
A user can remove a filter by using the "unclick" link provided in the Current search block. Adding a similar link for the search keys would be convenient and make the UI more consistent.
Of course, this only makes sense with the new capability provided by #358166: Search for just facet(s).
Comments
#1
I'm thinking this is rather trivial?
* Comment above a sad excuse for bumping this =) *
#2
This is a nice little feature request that I'd still group in the 6-1--0 branch. Anyone want to take a first swing at rolling a patch?
#3
Taking this...
#4
Here be a patch.
Took some code from @aufumy's patch in http://drupal.org/node/270412#comment-1747426 to add the public function remove_keys() to Solr_base_query.php
#5
Let's resolve #545094: Method to set Keys on Query first and then get this in.
#6
Per discussion w/ Janusman. I think we'll need to change the interface, so we should not put this on the 1.x branch where it would break existing integrations.
I think a set_keys() method is more generally useful, and it's not clear then that we need a remove_keys() method.
#7
There are now $query->get_keys() and $query->set_keys().
#8
New patch for latest DRUPAL-6--2.
#9
Thank you. Committed to 6.2.
#10
Peter may want to port.
#11
If I understand, this requres the interface changes, so we were not going to backport.
#12
Ok.
#13
Automatically closed -- issue fixed for 2 weeks with no activity.
#14
Is there any way to add the unclick link to the facet block all the time? Possible saying ( All ) instead of (-).
Just like drupal.org
#15
Not assigned to me anymore. =)
#16
Marcusoaten, could you please open a new issue with a clear description + maybe an image/screenshot?
Also feature request will probably first go into the 7.x branch and are maybe backported to D6 in time.
This is a really old issue that was fixed so we'll leave it that way :)
#17
Automatically closed -- issue fixed for 2 weeks with no activity.