biblio.extract_metabib_field_entry returns invalid authority data in some cases
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Evergreen |
New
|
Undecided
|
Unassigned |
Bug Description
EG 2.10, but code looks similar in Master.
The biblio.
This doesn't cause any side effects because the authority data is only used for browse fields, it just looks strange and possibly increases the amount of data passed around. Fixing it would just save someone else from puzzling over it in the future.
I think an easy fix would be to move the output_
Testing it is a little tricky since it depends on the order the metatbib fields are returned, in addition to the bib data.
Here is one example from our system. The authority record ID for "Interpersonal relations" 165337, in the first row, which is a browse field (3rd bool is true), is repeated for the following 4 fields that are non browse fields, and then finally reset for the last one that again is a browse field.
--works on 2.10, function is different
-- on newer versions of EG.
select biblio.
"extract_
"(subject,
"(subject,
"(subject,
"(series,
"(title,
"(author,
Josh
tags: | added: cat-authority |
Shortcut to the function - http:// git.evergreen- ils.org/ ?p=Evergreen. git;a=blob; f=Open- ILS/src/ sql/Pg/ 030.schema. metabib. sql;hb= HEAD#l830