projects
/
working
/
Evergreen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cb0a9e8
)
Fix get quality XPath
author
Jason Stephenson
<jason@sigio.com>
Mon, 15 Nov 2021 21:26:04 +0000
(16:26 -0500)
committer
Jason Boyer
<JBoyer@equinoxOLI.org>
Fri, 19 Nov 2021 16:10:12 +0000
(11:10 -0500)
Open-ILS/src/sql/Pg/030.schema.metabib.sql
patch
|
blob
|
history
diff --git
a/Open-ILS/src/sql/Pg/030.schema.metabib.sql
b/Open-ILS/src/sql/Pg/030.schema.metabib.sql
index
7cb4e8c
..
b4db8c9
100644
(file)
--- a/
Open-ILS/src/sql/Pg/030.schema.metabib.sql
+++ b/
Open-ILS/src/sql/Pg/030.schema.metabib.sql
@@
-1250,7
+1250,7
@@
BEGIN
END IF;
-- First, the count of tags
- qual := ARRAY_UPPER(oils_xpath('*[local-name()="datafield"]', marc), 1);
+ qual := ARRAY_UPPER(oils_xpath('
//
*[local-name()="datafield"]', marc), 1);
-- now go through a bunch of pain to get the record type
IF best_type IS NOT NULL THEN