Koha-clms/C4/SIP
Martin Renvoize 1a633d68da
Bug 34737: Add ability to match on combinations of item fields
This patch updates the sort bin selection logic to allow for multiple
item field comparisons in a single config rule line.

Test plan
1) Run the unit tests before and after applying this patch and confirm
   they pass in both cases (prove -v t/db_debendant/SIP/Transaction.t
2) Check out an item and return it via SIP2:
     $ telnet localhost 8023
     9300CNterm1|COterm1|CPCPL|
     09N20200422    12430020200422    124300APCPL|AOCPL|AB001|AC|
   (Where 001 in |AB001| is the barcode of the item in question)
4) Check there is no CL field in the last response
5) Apply the patch, fill in SIP2SortBinMapping with e.g.:
       CPL:itype:eq:BK:ccode:eq:TEEN:3
6) Repeat the first step
7) Check the response contains a CL field with a value of 3 (or what
   you put in the config). The field should look like |CL3|

Signed-off-by: Toni Ford <Toni.Ford@newcastle.gov.uk>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2023-10-04 11:07:51 -04:00
..
ILS Bug 34737: Add ability to match on combinations of item fields 2023-10-04 11:07:51 -04:00
Sip Bug 23548: Set AQ to empty when item not exist 2023-09-06 09:57:04 -03:00
ILS.pm Bug 34767: Pass fee_ack into ::Transaction::Renew(All) 2023-09-15 11:57:11 -03:00
ILS.pod
…
Logger.pm
…
Makefile
…
README
…
SIPServer.pm
…
Sip.pm Bug 33926: Add ability to specify fields allowed in a response 2023-09-25 10:53:50 -03:00
Trapper.pm Bug 32612: (QA follow-up) Add POD and fix typo 2023-02-07 15:30:29 -03:00

README

README for Open NSIP 3M-SIP Server

DEPENDENCIES

SIPServer is written entirely in Perl, but it require these CPAN
perl modules to run:

     Net::Server - The SIP server is a Net::Server::Prefork server
     XML::LibXML
     XML::Parser
     XML::Simple - for parsing the config file
     UNIVERSAL::require - for loading the correct ILS interface module
     Clone - for running the test cases

LOGGING

SIPServer uses Koha::Logger for status and debugging messages.