From ef9b9319b460c626c7ec278dfa1912215be70024 Mon Sep 17 00:00:00 2001 From: miker Date: Sun, 25 Feb 2007 16:55:48 +0000 Subject: [PATCH] adding support for faceting and searching separately git-svn-id: svn://svn.open-ils.org/ILS/trunk@7017 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/examples/fm_IDL.xml | 2 ++ Open-ILS/src/perlmods/OpenILS/Application/Ingest.pm | 6 +++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/Open-ILS/examples/fm_IDL.xml b/Open-ILS/examples/fm_IDL.xml index a1f76f5054..8011cc8c62 100644 --- a/Open-ILS/examples/fm_IDL.xml +++ b/Open-ILS/examples/fm_IDL.xml @@ -392,6 +392,8 @@ + + diff --git a/Open-ILS/src/perlmods/OpenILS/Application/Ingest.pm b/Open-ILS/src/perlmods/OpenILS/Application/Ingest.pm index 24201d3595..1f7a16fbbb 100644 --- a/Open-ILS/src/perlmods/OpenILS/Application/Ingest.pm +++ b/Open-ILS/src/perlmods/OpenILS/Application/Ingest.pm @@ -69,7 +69,11 @@ sub post_init { my $req = OpenSRF::AppSession ->create('open-ils.cstore') - ->request( 'open-ils.cstore.direct.config.metabib_field.search.atomic', { id => { '!=' => undef } } ) + + # XXX testing new metabib field use for faceting + #->request( 'open-ils.cstore.direct.config.metabib_field.search.atomic', { id => { '!=' => undef } } ) + ->request( 'open-ils.cstore.direct.config.metabib_field.search.atomic', { search => 't' } ) + ->gather(1); if (ref $req and @$req) { -- 2.11.0