How to modify the normalization rules for the ‘Subject’ field to include subfield v and for the 'Genre' field to display 655 field in Primo VE
In Primo VE, MARC fields mapped to ‘Subject’ display subfield $$v as a separate field.
It is possible to change this using the display normalization rules.
Go to ‘Manage display and local fields’ > ‘Add Field’ > ‘Add display field’ and select ‘Subject’ as the field to edit.
You can then edit the normalization rule to include subfield v for all included MARC fields.
The OTB rule uses the following format for all included MARC fields:
rule "Primo VE Display - Subject 600"
when
MARC."600" has any "a-u,w-z" AND NOT
MARC."600".ind"2" equals "2"
then
set TEMP"1" to MARC."600" subfields "a-u,w" delimited by " " remove substring using regex "\\.+$"
set TEMP"2" to MARC."600" sub without sorting "x-z" delimited by " -- "
remove substring using regex (TEMP"2","\\.+$")
concatenate with delimiter (TEMP"1",TEMP"2"," -- ")
create pnx."display"."subject" with TEMP"1"
end
Change this to the following for all included MARC fields to display subfield v:
rule "Primo VE Display - Subject 600"
when
MARC."600" has any "a-z" AND NOT
MARC."600".ind"2" equals "2"
then
set TEMP"1" to MARC."600" subfields "a-u" delimited by " " remove substring using regex "\\.+$"
set TEMP"2" to MARC."600" sub without sorting "v-z" delimited by " -- "
remove substring using regex (TEMP"2","\\.+$")
concatenate with delimiter (TEMP"1",TEMP"2"," -- ")
create pnx."display"."subject" with TEMP"1"
end
You can also edite the OTB display normalization for Genre to just display MARC field 655:
rule "Primo VE - Genre 655"
when
MARC is "655"
then
set TEMP"1" to MARC."655" subfields "a-c" delimited by " " remove substring using regex "\\.+$"
set TEMP"2" to MARC."655" sub without sorting "v-z" delimited by " -- "
remove substring using regex (TEMP"2","\\.+$")
concatenate with delimiter (TEMP"1",TEMP"2"," -- ")
create pnx."display"."genre" with TEMP"1"
end