projects
/
evergreen
/
masslnc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
41eb056
)
Put thesaurus-z handling back in
author
Mike Rylander
<mrylander@gmail.com>
Wed, 15 Jun 2011 19:45:10 +0000
(15:45 -0400)
committer
Mike Rylander
<mrylander@gmail.com>
Mon, 11 Jul 2011 17:48:29 +0000
(13:48 -0400)
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Open-ILS/src/sql/Pg/011.schema.authority.sql
patch
|
blob
|
history
diff --git
a/Open-ILS/src/sql/Pg/011.schema.authority.sql
b/Open-ILS/src/sql/Pg/011.schema.authority.sql
index
b2b462e
..
3e6fda0
100644
(file)
--- a/
Open-ILS/src/sql/Pg/011.schema.authority.sql
+++ b/
Open-ILS/src/sql/Pg/011.schema.authority.sql
@@
-176,6
+176,10
@@
BEGIN
EXIT WHEN heading_text <> '';
END LOOP;
+ IF thes_code = 'z' THEN
+ thes_code := oils_xpath_string('//*[@tag="040"]/*[@code="f"][1]', marcxml);
+ END IF;
+
IF heading_text <> '' THEN
IF no_thesaurus IS TRUE THEN
heading_text := tag_used || ' ' || public.naco_normalize(heading_text);