[Koha] SRU Config

Thomas Klausner domm at plix.at
Tue May 11 00:23:43 NZST 2021


I have now figured out a few SRU-Mappings for services.dnb.de

authorpersonal = BBG="Tp*" and dnb.per
authorcorp     = BBG="Tb*" and dnb.koe
title          = BBG="Tu*" and dnb.tit


It is crucial that the 'BBG="?" and '-part comes before the actual field 
mapping because `_translate_query` will just mangle the fieldname and 
append the value entered by the user to the mapped fieldname (or at 
least thats how I interprete the code.)

I guess those could be improved, but my head is spinning enough already.


#!/usr/bin/perl                             https://domm.plix.at
for(ref bless{},just'another'perl'hacker){s-:+-$"-g&&print$_.$/}

More information about the Koha mailing list