Comment 3 for bug 1879335

Revision history for this message
Bill Erickson (berick) wrote :

For reference, I was able to make authority.simple_heading produce the desired results by telling the ingest to in effect use the full 1XX field instead of just (say) the 1XX $a. Something along the lines of:

BEGIN;
UPDATE config.internal_flag SET enabled = TRUE
    WHERE name = 'ingest.reingest.force_on_same_marc';
UPDATE authority.heading_field SET component_xpath = '/*';
UPDATE authority.record_entry set id = id;
SELECT value FROM authority.simple_heading ORDER BY sort_value;
ROLLBACK;

This produces full, sortable headings. However, since I'm not 100% on the purpose of authority.heading_field, I don't know if this is a viable solution.