Doorgaan naar de website
OCLC Support

Locally-preferred headings aren't replacing subject headings that end in a parenthesis

Symptom

  • You have added locally-preferred headings, but they are only successfully replacing some ocurrences of the heading you're trying to replace. They aren't replacing subject headings that end in a parenthesis.

Applies to

  • WorldCat Discovery

Resolution

 The cause of this issue is how Discovery handles parentheses next to a wildcard. When a subject heading ends in a closing parenthesis right before the asterisk, Discovery skips the wildcard, and only exact matches are replaced. Here is an example of a LOC subject heading that would have this issue: 

America, Lake (N.Y. and Ont.)

Adding this line with an asterisk-- e.g., America, Lake (N.Y. and Ont.)*-- will not replace this subject for display. The parenthesis next to the asterisk causes it to be skipped.

The workaround is to add an exact row for each full heading. Leave out the asterisk, put a space between the heading and the subdivision, and leave off the trailing period. For example, to replace this LOC subject heading:

America, Lake (N.Y. and Ont.)--Regulation

with this locally-preferred subject heading:

Ontario, Lake (N.Y. and Ont.)--Regulation

Put this line in your locally-preferred subject heading file: 

CAN CN8BJ 651 Countries/Regions America, Lake (N.Y. and Ont.) Regulation Ontario, Lake (N.Y. and Ont.)—Regulation

Page ID

69974