Bug 28628 - Elasticsearch - Heading search form doesn't match related indexed heading
Summary: Elasticsearch - Heading search form doesn't match related indexed heading
Status: CLOSED WONTFIX
Alias: None
Product: Koha
Classification: Unclassified
Component: Searching - Elasticsearch (show other bugs)
Version: 20.05
Hardware: All All
: P5 - low enhancement
Assignee: Alex Arnaud
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-06-24 13:14 UTC by Alex Arnaud
Modified: 2024-07-04 20:37 UTC (History)
1 user (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments
Bug 28628: Make heading search form match related indexed heading (2.05 KB, patch)
2021-06-24 14:41 UTC, Alex Arnaud
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Arnaud 2021-06-24 13:14:36 UTC
When an authority is created using LinkBibHeadingsToAuthorities
the heading created "700 $aVidard $bMathieu $f1971-..." (unimarc)
is saved as "Vidard Mathieu 1971-..", indexed as "Vidard Mathieu 1971-.."
and searched as "Vidard Mathieu 1971" => no match.

So the link bib does'nt work.

Test plan (UNIMARC exemple):
  - create a biblio with the following data in tag 700:
    - $a Vidard
    - $b Mathieu
    - $d 1971-...
  - save.
  => a new authority is created with the following heading "Vidard Mathieu 1971-.."
  - create an other biblio with the same value in tag 700.
  => again a new authority is created with the same heading.
Comment 1 Alex Arnaud 2021-06-24 14:41:58 UTC
Created attachment 122393 [details] [review]
Bug 28628: Make heading search form match related indexed heading

Test plan (UNIMARC exemple):
  - create a biblio with the following data in tag 700:
    - $a Vidard
    - $b Mathieu
    - $d 1971-...
  - save.
  => a new authority is created with the following heading "Vidard
Mathieu 1971-.."
  - create an other biblio with the same value in tag 700.
  => again a new authority is created with the same heading.
  - apply this patch and repeat the test plan
  - The 2nd 700 tag should map to the same authority.
Comment 2 Alex Arnaud 2021-06-24 14:44:26 UTC
Bug 18017 solved this for 20.11.06 but not backported. Wish this for 20.05 and 19.11.
Comment 3 Fridolin Somers 2021-08-17 07:11:50 UTC
Is this valid in actual master ?
No need to impact C4/Heading/MARC21.pm ?
Comment 4 Katrin Fischer 2023-07-01 11:40:33 UTC
(In reply to Alex Arnaud from comment #2)
> Bug 18017 solved this for 20.11.06 but not backported. Wish this for 20.05
> and 19.11.

Closing as we no longer maintain 20.05.