From: Jakub Skoczen Date: Thu, 17 May 2007 22:56:41 +0000 (+0000) Subject: Temporary fix to make the target filter work. X-Git-Tag: PAZPAR2.1.0.0~129 X-Git-Url: http://sru.miketaylor.org.uk/?a=commitdiff_plain;h=27e19ec3e10643b4b6431ce6a68317f057c932f2;p=pazpar2-moved-to-github.git Temporary fix to make the target filter work. --- diff --git a/src/logic.c b/src/logic.c index f54b303..2a39b42 100644 --- a/src/logic.c +++ b/src/logic.c @@ -1,4 +1,4 @@ -/* $Id: logic.c,v 1.29 2007-05-16 17:16:21 quinn Exp $ +/* $Id: logic.c,v 1.30 2007-05-17 22:56:41 jakub Exp $ Copyright (c) 2006-2007, Index Data. This file is part of Pazpar2. @@ -566,11 +566,12 @@ void session_apply_setting(struct session *se, char *dbname, char *setting, yaz_log(YLOG_WARN, "Unknown setting %s", setting); return; } - if (offset == PZ_ID) + // Jakub: This breaks the filter setting. + /*if (offset == PZ_ID) { yaz_log(YLOG_WARN, "No need to set pz:id setting. Ignoring"); return; - } + }*/ new->precedence = 0; new->target = dbname; new->name = setting;