https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35452 --- Comment #12 from David Nind <david@davidnind.com> --- Created attachment 201681 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=201681&action=edit Bug 35452: Provide more info when using Link authorities automatically When "Link authorities automatically" is run, the results dialog only shows field tag numbers, making it difficult to identify which authority term was linked or not linked. This patch adds the heading display text to each result entry so the user can see both the field tag and the actual term value. The previous patch (attachment 160590) failed QA because the test expectations in t/db_dependent/Biblio.t were written before Bug 31185 changed the authority duplicate detection behavior. Bug 36938 (already in main) fixed those test expectations, but did not account for the new 'data' field introduced by this patch. This rebased version updates the test expectations to include the heading display text. Steps to test: 1. Edit a bibliographic record and add several 6xx/7xx fields 2. Click "Link authorities automatically" — observe that the results dialog only shows field tag numbers (e.g. "650 - Not linked") 3. Apply this patch and restart services (Plack restart required if running under Plack) 4. Click "Link authorities automatically" again — confirm the dialog now shows both the tag and the term text (e.g. "650 - Science fiction - Not linked") 5. Run: prove t/db_dependent/Biblio.t 6. Confirm the two tests in "LinkBibHeadingsToAuthorities multiple results tests" pass (they previously failed due to Bug 31185 + Bug 36938 history) Signed-off-by: Adolfo Rodríguez <adolfo.rodriguez@xercode.es> Signed-off-by: David Nind <david@davidnind.com> -- You are receiving this mail because: You are watching all bug changes.