Avoid collecting facet data for non-facet fields
authorBill Erickson <berick@esilibrary.com>
Wed, 5 Oct 2011 19:16:17 +0000 (15:16 -0400)
committerLebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Wed, 5 Oct 2011 19:45:35 +0000 (15:45 -0400)
commitbc7fd8a578677c1ead5c536c52131abb0563c6a3
tree9fa12deac8f8b6c393fc2bb591a6fd95bb96cd69
parent488984c63d2527da4d3101b32588e1b17521a6df
Avoid collecting facet data for non-facet fields

If a config.metabib_field (Admin -> Server Admin -> MARC Search/Facet
Fields) starts out as a facet field but is later changed, data for that
facet can still bubble up since it has already been extracted.  This
patch prevents facets for config.metabib_field entries whose
facet_field=false from getting collected/cached for search results.

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Open-ILS/src/perlmods/lib/OpenILS/Application/Search/Biblio.pm