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:28 +0000 (21:17 -0400)
commit2cb18f20ed1c41d4d24afbcdbcb848e6b57043e0
tree6812e8538a68af638031c8db81d6b3cd3046336d
parent8a929d746246b56f2670d1b71adaec3377ba67c8
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