TPAC: Make facet display work as in JSPAC collab/senator/tpac-facet-better
authorLebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Thu, 11 Oct 2012 20:00:36 +0000 (16:00 -0400)
committerLebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Thu, 11 Oct 2012 20:00:36 +0000 (16:00 -0400)
commit19895246e811962d5b31b2213e6c013ef3cea9e0
treee2b16a4b8a142005226b74b1da3b58642cd0a228
parentc99bd2fc075b3f5c1bab2045ecee6b7dd93756c6
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>
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