Going to:

admin/config/search/current_search/list/standard/edit

Choose "Reset filters link" add Name, click add, page reloads and no new entry under "Item display order "

Comments

marcoka’s picture

Status: Active » Closed (fixed)

now works. seems that "better_exposed_filters" killed this.

Adam Wood’s picture

Status: Closed (fixed) » Active

I've got the same problem on a quite complex build. I'll try and find the source.

Exactly the same behaviour described, with or without BEF.

kevster’s picture

Ive just found the same issue - I disabled & removed BEF but still no joy. I tried deleting all previous types and then adding a reset filters link but didnt work, nothing in recent log. I get the "standard has been updated."

Im running Facet API 7.x-1.3 and search facets 7.x-1.4

It does work on an older site running Facet API 7.x-1.0 rc4 + dev, Facet API bonus 7.x-1.1 and search facets 7.x-1.0.

Thanks..

Demoshane’s picture

Priority: Normal » Major

I can confirm this, module is not usable for new projects at the current state. I think this warrants state review of project features. Seems newer versions of facetapi and/or search api have broken module functionality.

Raising to major.

HarryAscent’s picture

Subscribe

kevster’s picture

Hi HarryAscent - you dont need to post subscribe now - you can just hit the follow button at the top..

HarryAscent’s picture

Ok, sorry.
not exactly know the rules d.org

mattiasj’s picture

Any news on this?

pinkonomy’s picture

I am using search_api_views and I cannot find the reset link.Any help?

aklump’s picture

I was able to get this to work by downloading the 7.x-1.x-dev dated 2013-Sep-30. It was broken in 7.x-1.1.

notimetoexplaingetonthepony’s picture

I went to create a patch on this issue but when I checked out the 7.x-1.x branch everything was already fixed. Not sure why this isn't included in the recommend release.

kitikonti’s picture

Issue summary: View changes

So how could i get this to work know? I tried the 7.x-1.1 and the 7.x-1.x-dev and nothing works?

pinkonomy’s picture

Try the dev version and tell us if it was fixed

kitikonti’s picture

Read my comment, i have already tried the dev version, and it also does not work.

pinkonomy’s picture

strange,I made this work several times with the dev version

kitikonti’s picture

thats really strange, i will give it another try, but dont think it would change anything. maybe it is not compatible to some other module, i have a big configuration of modules.

pinkonomy’s picture

Just a notice,as far as I remember find the settings of the facet bonus api,there is a reset link.Add then this block into panels.
Good luck

almc’s picture

As per my testing the dev version of this module does produce a reset link for facets, although when used with module Facet API Pretty Paths, each click of the link resets only one facet from those selected, not all of them at once, which is still a bug.

dragon658’s picture

Subscribe

kopeboy’s picture

Version: 7.x-1.x-dev » 7.x-1.1

Just installed the module (stable release) and at /admin/config/search/current_search/list/standard/edit I cannot add the Reset filters link.

I select it, write the text, click "Add item", page reloads, and nothing new shows up in the list below.

Adding a custom text works, so is not a problem of compatibility with jquery or chosen for example I guess.

Not fixed for 7.x-1.1
Is there a patch I can apply?

From the module description:

"Current search block Reset Filters link Gives possibility to add link to current block that resets all applied facets. Text is customizable."
"Facet API Bonus is written for Drupal 7, and is stable, tested, and ready to be used in production environments."

Wrong.

kopeboy’s picture

Priority: Major » Critical
szeidler’s picture

I was not able to fix it, but:

facetapi_bonus.info
files[] = plugins/facetapi/current_search/current_search_reset_filters_link.inc, but the file is inside this folder
files[] = plugins/facetapi/current_search_reset_filters_link.inc

Going further to facetapi_bonus.module, Line 92

function facetapi_bonus_current_search_items() {
  return array(
    'reset_filters' => array(
      'handler' => array(
        'label' => t('Reset filters link'),
        'class' => 'FacetapibonusCurrentSearchResetFiltersLink',
      ),
    ),
  );
}

, but the actual class is defined

class FacetapiExtraCurrentSearchResetFiltersLink extends CurrentSearchItemText {

There seems to be something very out of place. I was able to add the reset filter links with the path and class name changes, but I can't get it showing on the frontend.

iamgotah’s picture

I was in the same issue #22, I could see the html code for reset link:

<div class="current-search-item current-search-item-reset-filters current-search-item-reset">
<a class="active" href="/es/catalogo2"></a>
</div>

But there was no text beetwen <a class="active" href="/es/catalogo2"> and </a> so there was no reset link.

You must look at "Item settings" and write a text for the link, szeidler :)

dddbbb’s picture

Same issue here. Running latest dev of facetapi_bonus.

Jaber ME’s picture

J'ai la même problème mais ce bon maintenant juste il faut désactiver module BFE VIEWS en suite mettre à jour la module facetapi bonus vers la dernier version de dev .ensuite ça marche bien ;)

flyke’s picture

Just like frenchie above me says: latest dev version is working for me too.
I didn't have BEF installed so i did not need to disable it first.

At first I had latest stable version (7.x-1.1) installed. On the current search block edit page I selected type 'Reset filters link' and entered a Name 'resetbutton'. When I clicked 'Add item', something seems to happen but the item was not added to the list.

After reading the comments here, I downloaded latest dev version
(via drush command 'drush dl facetapi_bonus-7.x-1.x-dev -y')
and tried the same thing again.

This time it works, the reset item got added and i have my reset link.

Khumbu’s picture

The dev version works. This should be mentioned on the project page.

Greets,

Khumbu’s picture

The dev version works. This should be mentioned on the project page.

Greets,

heddn’s picture

Status: Active » Closed (duplicate)
Related issues: +#1760762: reset filters link dont work with facetapi pretty paths
bramvandenbulcke’s picture

I installed the dev module but I can't find this setting. Where is the setting for the reset filters link exactly? Or is it broken?

heddn’s picture

bramvandenbulcke’s picture

I ended up adding a normal link as a button.