TPAC: Make facet display work as in JSPAC user/kmlussier/tpac-facet-better
authorLebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Thu, 11 Oct 2012 20:00:36 +0000 (16:00 -0400)
committerKathy Lussier <klussier@masslnc.org>
Fri, 12 Oct 2012 14:39:53 +0000 (10:39 -0400)
commita1e2397ed9b0ee09dfde2e197571cbfd43f20002
treeb77337d114489cda74b351969ed88163a96ed9f6
parente8dcb2de62179fc924b340ba3230ce5bd4092c42
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