From: Sebastian Hammer Date: Sun, 4 Feb 2007 21:48:21 +0000 (+0000) Subject: Allowed ccl filter override X-Git-Tag: stable.27032007~34 X-Git-Url: http://lists.indexdata.dk/?a=commitdiff_plain;h=b46b773cc6e248927da0fca356411bf86ffe2396;p=pazpar2-moved-to-github.git Allowed ccl filter override --- diff --git a/src/pazpar2.c b/src/pazpar2.c index 36b6b65..9d10f84 100644 --- a/src/pazpar2.c +++ b/src/pazpar2.c @@ -1,4 +1,4 @@ -/* $Id: pazpar2.c,v 1.46 2007-01-26 19:30:51 quinn Exp $ */ +/* $Id: pazpar2.c,v 1.47 2007-02-04 21:48:21 quinn Exp $ */ #include #include @@ -1603,7 +1603,8 @@ int main(int argc, char **argv) start_http_listener(); start_proxy(); - global_parameters.ccl_filter = load_cclfile("../etc/default.bib"); + if (!global_parameters.ccl_filter) + global_parameters.ccl_filter = load_cclfile("../etc/default.bib"); global_parameters.yaz_marc = yaz_marc_create(); yaz_marc_subfield_str(global_parameters.yaz_marc, "\t"); global_parameters.odr_in = odr_createmem(ODR_DECODE);