[librecat-dev] marc_match and variable

Patrick Hochstenbach Patrick.Hochstenbach at UGent.be
Mon Sep 25 19:51:18 CEST 2017


Hi Christoph

I'm on travel for a few days and can't immediately check it.
But I see something weird happening in the latest 'marc_match' code that should happen.

I'll check it when I'm back in my office

Patrick
________________________________________
From: librecat-dev-bounces at lists.uni-bielefeld.de <librecat-dev-bounces at lists.uni-bielefeld.de> on behalf of Christoph Krempe <krempe at ub.fu-berlin.de>
Sent: Monday, September 25, 2017 3:50 PM
To: librecat-dev at lists.uni-bielefeld.de
Subject: [librecat-dev] marc_match and variable

Hi all,

a fix like

if marc_match('9852','090000')
...
end


works as expected, but not in combination with a variable:

marc_match('9852',"{{fb}}")
...
end


The fix matches not only '090000' as value og "fb", but also '190000'.

Any idea?

Thanks,

--

Mit freundlichen Grüßen

Ch. Krempe

__________________________________________________

Christoph Krempe
Abt. Datenverarbeitung / Fachreferat Philosophie
Universitätsbibliothek der FU Berlin
Garystraße 39
D-14195 Berlin

Tel.: 030 83854583
Fax: 030 838454583




More information about the librecat-dev mailing list