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

Nick Clemens <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #40339|0                           |1
        is obsolete|                            |

--- Comment #3 from Nick Clemens <[email protected]> ---
Created attachment 40425
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=40425&action=edit
Bug 14419 - Expanding facets (Show more) performs a new search

This patch removes the constraint of only passing 5 facets to the template
unless the list is expanded, in fact, it removes the 'expanded' attribute from
Search.pm
Now that all facets are passed to page it adds a 'show more' link at the bottom
of lists and allows user to expand or collapse any facet set without reloading
page.

Updated tests included.

Whitespace patches still needed.

To test:
1  - Perform an OPAC search that returns more than 5 of any given facet type
2  - Click the "Show more" link on the facets and see that the search is
reloaded
3  - Apply patch
4  - Repeat search
5  - Note that you can click "Show more" without reloading page
6  - Test that page load is not greatly affected
7  - Ensure that all facet links function normally
8  - Ensure that facets are the same a prior to patch
9  - Repeat for staff client
10 - Prove t/Search.t

NOTE: This patch makes it much easier to see that there is an existing issue
with marking the "active" facet.  Ending punctuation seems to confuse the
matcher, I'll fix it if I figure it out, but I didn't cause it.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to