Recommended WRLC Display and Local Rules
UNDER CONSTRUCTION
The following are various Primo VE display rules that are used by some of the institutions in the WRLC. It is not a requirement to have these configured in a WRLC Institution Zone, but they can be helpful, depending on your institution's policies.
For instructions on how to configure a new display rule for Primo VE, see the following Wiki page:
SUBJECTS Display Rule
rule "Primo VE Display - Subject 650 (including Illegal alien* WRLC local subject heading)"
when
MARC."650" has any "a-u,w-z" AND NOT
MARC."650"."a" match "Illegal alien.*" AND NOT
MARC."650"."a" match "Alien criminals" AND NOT
MARC."650"."a" match "Alien detention centers" AND NOT
MARC."650"."a" match "Alien property" AND NOT
MARC."650"."a" match "Church work with aliens" AND NOT
MARC."650".ind"2" equals "4" AND NOT
MARC."650".ind"2" equals "5" AND NOT
MARC."650".ind"2" equals "6" AND NOT
MARC."650".ind"2" equals "7"
then
set TEMP"1" to MARC."650" subfields "a-u,w" delimited by " " remove substring using regex "\\.+$"
set TEMP"2" to MARC."650" subfields "x-z" delimited by " -- " remove substring using regex "\\.+$"
concatenate with delimiter (TEMP"1",TEMP"2"," -- ")
create pnx."display"."subject" with TEMP"1"
end
rule "Primo VE Display - Subject 650 local supplemental WRLC subject headings"
when
MARC."650" has any "a-u,w-z" AND
MARC."650".ind"2" equals "7" AND
MARC."650"."2" match "local" AND
MARC."650"."5" match "CAO"
then
set TEMP"1" to MARC."650" subfields "a-u,w" delimited by " " remove substring using regex "\\.+$"
set TEMP"2" to MARC."650" subfields "x-z" delimited by " -- " remove substring using regex "\\.+$"
concatenate with delimiter (TEMP"1",TEMP"2"," -- ")
create pnx."display"."subject" with TEMP"1"
end