[open-ils-commits] [GIT] Evergreen ILS branch rel_2_1 updated. bc7fd8a578677c1ead5c536c52131abb0563c6a3
Evergreen Git
git at git.evergreen-ils.org
Wed Oct 5 15:45:54 EDT 2011
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Evergreen ILS".
The branch, rel_2_1 has been updated
via bc7fd8a578677c1ead5c536c52131abb0563c6a3 (commit)
from 488984c63d2527da4d3101b32588e1b17521a6df (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit bc7fd8a578677c1ead5c536c52131abb0563c6a3
Author: Bill Erickson <berick at esilibrary.com>
Date: Wed Oct 5 15:16:17 2011 -0400
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 at esilibrary.com>
Signed-off-by: Lebbeous Fogle-Weekley <lebbeous at esilibrary.com>
diff --git a/Open-ILS/src/perlmods/lib/OpenILS/Application/Search/Biblio.pm b/Open-ILS/src/perlmods/lib/OpenILS/Application/Search/Biblio.pm
index 2bc7062..7deae9d 100644
--- a/Open-ILS/src/perlmods/lib/OpenILS/Application/Search/Biblio.pm
+++ b/Open-ILS/src/perlmods/lib/OpenILS/Application/Search/Biblio.pm
@@ -1512,7 +1512,7 @@ sub cache_facets {
},
where => {
'+mmrsm' => { $count_field => $results },
- '+cmf' => { field_class => { 'not in' => $ignore } }
+ '+cmf' => { field_class => { 'not in' => $ignore }, facet_field => 't' }
}
}
);
-----------------------------------------------------------------------
Summary of changes:
.../lib/OpenILS/Application/Search/Biblio.pm | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
hooks/post-receive
--
Evergreen ILS
More information about the open-ils-commits
mailing list