[Koha-bugs] [Bug 10857] Add facets cancellation

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Oct 1 18:04:56 CEST 2013


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10857

--- Comment #23 from Jonathan Druart <jonathan.druart at biblibre.com> ---
(In reply to Owen Leonard from comment #22)
> 1. Keyword search from the main search bar: 
>    /cgi-bin/koha/opac-search.pl?idx=&q=blue
> 
> 2. Click library facet:
>   
> /cgi-bin/koha/opac-search.
> pl?q=blue%2520%2523relevance_dsc&sort_by=relevance_dsc&limit=branch:APL
> 
> 3. Cancel library facet:
>   
> /cgi-bin/koha/opac-search.pl?idx=kw&q=blue%2520&limit=branch:
> APL&sort_by=relevance_dsc&nolimit=branch:APL
> 
> 4. Click another library facet: 
>   
> /cgi-bin/koha/opac-search.
> pl?q=kw%253Ablue%2520%2523relevance_dsc&sort_by=relevance_dsc&limit=branch:
> NPL

Here I get:
1/ opac-search.pl?q=d
2/ opac-search.pl?idx=kw&q=d&sort_by=author_asc&limit=branch:CPL
3/
opac-search.pl?idx=kw&q=d&limit=branch:CPL&sort_by=author_asc&nolimit=branch:CPL
4/ opac-search.pl?idx=kw&q=d&sort_by=author_asc&limit=branch:MPL

I don't understand why between your 3 and 4 the idx=kw&q=blue become kw:blue.
But in all cases, a facet is considered as active if a limit param is
index:value.
Since it works with the first query, it is really odd that it does not work
with the second one.

Mathieu, did you reproduce on a sandbox?

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list