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).
| Comment | File | Size | Author |
|---|---|---|---|
| #8 | 473554-8.patch | 1.11 KB | janusman |
| #4 | 473554_4.patch | 1.85 KB | janusman |
Comments
Comment #1
janusman commentedI'm thinking this is rather trivial?
* Comment above a sad excuse for bumping this =) *
Comment #2
robertdouglass commentedThis 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?
Comment #3
janusman commentedTaking this...
Comment #4
janusman commentedHere 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
Comment #5
robertdouglass commentedLet's resolve #545094: Method to set Keys on Query first and then get this in.
Comment #6
pwolanin commentedPer 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.
Comment #7
robertdouglass commentedThere are now $query->get_keys() and $query->set_keys().
Comment #8
janusman commentedNew patch for latest DRUPAL-6--2.
Comment #9
robertdouglass commentedThank you. Committed to 6.2.
Comment #10
robertdouglass commentedPeter may want to port.
Comment #11
pwolanin commentedIf I understand, this requres the interface changes, so we were not going to backport.
Comment #12
robertdouglass commentedOk.
Comment #14
MarcusOaten commentedIs there any way to add the unclick link to the facet block all the time? Possible saying ( All ) instead of (-).
Just like drupal.org
Comment #15
janusman commentedNot assigned to me anymore. =)
Comment #16
nick_vhMarcusoaten, 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 :)