From a6af7ec35bb207d04b63e50684d17977304b1569 Mon Sep 17 00:00:00 2001 From: Galen Charlton Date: Thu, 7 Feb 2008 00:11:52 -0600 Subject: [PATCH] authority headings search: remove CCL metacharacters Signed-off-by: Chris Cormack Signed-off-by: Joshua Ferraro --- C4/Heading/MARC21.pm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/C4/Heading/MARC21.pm b/C4/Heading/MARC21.pm index 419a04be75..66c2904c24 100644 --- a/C4/Heading/MARC21.pm +++ b/C4/Heading/MARC21.pm @@ -195,6 +195,10 @@ sub _get_search_heading { } } } + + # remove characters that are part of CCL syntax + $heading =~ s/[)(=]//g; + return $heading; } -- 2.39.5