TPAC: Make facet display work as in JSPAC
authorLebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Thu, 11 Oct 2012 20:00:36 +0000 (16:00 -0400)
committerLebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Wed, 17 Oct 2012 01:17:07 +0000 (21:17 -0400)
commit7e35393865d42452a366b8be734ce81c0a1e9892
treef995b3dcbfe075887fe3216df854e9b7c89b05c3
parentc3e39cf81df60b372ce42a94bda822c717fbe5d9
TPAC: Make facet display work as in JSPAC

Namely, this means:
    - You see five facets per category by default, not ten.
    - You can click a link to see all the facets in a category
        (before this it was impossible to display more than ten).
    - When viewing all the facets in a category, you can click a link
        to reduce the list back to five.
    - This number five I'm talking about is configurable in config.tt2.
    - Alphabetical sorting of facets grouped by the same numbers of
      results is restored.

This addresses LP #1065109.

Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Util.pm
Open-ILS/src/templates/opac/css/style.css.tt2
Open-ILS/src/templates/opac/parts/config.tt2
Open-ILS/src/templates/opac/parts/result/facets.tt2