From 5a5a07780a93811324483dcaef0e4c3fa0c1b806 Mon Sep 17 00:00:00 2001
From: miker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Date: Wed, 17 Nov 2010 16:42:38 +0000
Subject: [PATCH] pass the supplied depth parameter to the query parser for use

git-svn-id: svn://svn.open-ils.org/ILS/trunk@18766 dcc99617-32d9-48b4-a31d-7c20da2025e4
---
 Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/metabib.pm | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/metabib.pm b/Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/metabib.pm
index 413bf8f108..c46e1e51ea 100644
--- a/Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/metabib.pm
+++ b/Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/metabib.pm
@@ -3113,6 +3113,7 @@ sub query_parser_fts_wrapper {
 
     $query = "estimation_strategy($args{estimation_strategy}) $query" if ($args{estimation_strategy});
     $query = "site($args{org_unit}) $query" if ($args{org_unit});
+    $query = "depth($args{depth}) $query" if ($args{depth});
     $query = "sort($args{sort}) $query" if ($args{sort});
     $query = "limit($args{limit}) $query" if ($args{limit});
     $query = "core_limit($args{core_limit}) $query" if ($args{core_limit});
-- 
2.11.0