LP#1901597: Allow multi-subfield match in vandelay.strip_field user/rogan/lp-1901597-vandelay_strip_field_multimatch
authorMike Rylander <mrylander@gmail.com>
Mon, 26 Oct 2020 19:26:09 +0000 (15:26 -0400)
committerRogan Hamby <rogan.hamby@gmail.com>
Mon, 20 Sep 2021 18:54:48 +0000 (18:54 +0000)
commitc1353d78b3e580be4f4c65ad8c71fb06f00a06bd
tree61e9fb9093098a7b6564f1b1a43d03defcacb36c
parentd5f3afe0796eac0c4a6720c58e471f232ac75796
LP#1901597: Allow multi-subfield match in vandelay.strip_field

Now, when supplying a subfield match restriction for use with
vandelay.strip_field, you can separate multiple restrictions with '&&'
(no quotes).  For instance, to remove a Located URI 856 for for a
combination of a specific owner and a specific domain, you might say:

 856[u~oldservice.com && 9~MYLIB]

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Rogan Hamby <rogan.hamby@gmail.com>
Open-ILS/src/sql/Pg/012.schema.vandelay.sql
Open-ILS/src/sql/Pg/upgrade/XXXX.function.strip_field_multimatch.sql [new file with mode: 0644]